.\" Hey, EMACS: -*- nroff -*- .TH MAKE-SSL-CERT2 8 "July 25, 2006" .\" Please adjust this date whenever revising the manpage. .\" (C) 2006 James Westby .\" All rights reserved. .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions are met .\" .\" * Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" * Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" * Neither the name of the author nor the names of its contributors .\" may be used to endorse or promote products derived from this .\" software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY .\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE .\" DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR .\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR .\" SERVICES; .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND .\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .\" vim: set tw=78 : .\" ~ .SH NAME make-ssl-cert2 \- create an SSL certificate within the ssl-cert2 framework .SH SYNOPSIS .B make-ssl-cert2 [ .B \-o .RI owner ] [ .B \-g .RI group ] [ .B \-p .RI permissions ] [ .B \-c .RI cert-file ] [ .B \-k .RI key-file ] .RI package-name .SH DESCRIPTION This manual page documents briefly the .B make-ssl-cert2 .PP \fBmake-ssl-cert2\fP is a program that allows either the system administrator, or a package to create an SSL certificate that fits in with the ssl-cert2 system. .PP At the moment the command only creates a symbolic link to the sitewide certificate if ssl-cert2 has been configured to manage the certificates. In the future it may be possible for the system administrator to use this command to create and update individual certificates for specific services. .PP \fBmake-ssl-cert2\fP should be called with the name of the package that the certificate is being created for as the first argument. The program will then create links named /etc/ssl/certs/${package}.pem and /etc/ssl/private/${package}.pem to the sitewide certificate and key respectively. If ssl-cert2 has been configured to not manage the certificates then a message will be printed. A message will also be printed if it is believed that the program should not proceed as the system administrator has already created a file with these names. .SH OPTIONS .TP .B \-o owner The owner the caller would like the created key to be owned by. Will only be repected if the admin is using individual certificates (which is not the default). Otherwise the key will be owned by root. .TP .B \-g group The group the caller would like the created key to be owned by. Will only be respected if the admin is using individual certificates (which is not the default). Otherwise the key will be owned by the ssl-cert group. .TP .B \-p permissions The permissions that the caller would like the key to have. Will only be respected if the admin is using individual certificates (which is not the default). Otherwise the key will be 0644. .TP .B \-c cert-file The file to write the certificate to, if not /etc/ssl/certs/${package}.pem. .TP .B \-k key-file The file to write the key to, if not /etc/ssl/private/${package}.pem. .SH SEE ALSO .BR ssl-cert2 (7), .BR openssl (1ssl) .SH AUTHOR ssl-cert2 was written by James Westby. .PP This manual page was written by James Westby , for the Debian project (but may be used by others).