.\" Hey, EMACS: -*- nroff -*- .TH SSL-CERT2 7 "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) .SH NAME ssl-cert2 \- A framework for handling of SSL certificates .SH SYNOPSIS .B ssl-cert2 .RI package .SH DESCRIPTION This manual page documents briefly the .B ssl-cert2 package. .PP \fBssl-cert2\fP is a package that attempts to unify the handling of creation of SSL certificates. It can ease creation of certificates by packages upon installation, as well as allow the system administrator to easily change the certificates. .PP If you are a package maintainer who wishes to create an SSL certificate for a service, then check out the \fBmake-ssl-cert\fP command. This will allow you to create a certificate without having to worry too much about the details of how it is done. .PP If you are a system administrator and would like to know how to use the system then read on. .PP The first decision is whether you want to use \fBssl-cert2\fP at all to manage your SSL certificates. The default is yes. If you don't want it to then \fBdpkg-reconfigure ssl-cert2\fP, and answer the question. If you want to preconfigure it the key ssl-cert2/manage_certs should be set to false. If you choose this then at the moment you must manually create certificates for each service that requires one (it is hoped a simple way to do this will be included later). The system will inform you with a message every time you set up a package that requires one. .PP If you allow \fBssl-cert2\fP to manage your certificates then you have a choice of how this is done. In most installations a self-signed certificate will be created and placed at \fB/etc/ssl/certs/ssl-cert2-snakeoil.pem\fP. This contains some guesses at the vaules that can be embedded in the certificate. If you wish to recreate this certificate, either as the values are wrong, or the certificate has expired then you can run \fBdpkg-reconfigure ssl-cert2\fP to create a new one. .PP If you wish to replace this certificate with another (e.g. one signed by a CA) then merely change the \fB/etc/ssl/certs/ssl-cert2-sitewide.pem\fP link to point to your preferred certificate, and \fB/etc/ssl/private/ssl-cert2-sitewide.pem\fP to point to the corresponding key. If you do this then \fBssl-cert2\fP will leave the links as they are to avoid disturbing your system. .PP If you wish to provide an individual certificate for a certain package then again change the \fB/etc/ssl/certs/${package}.pem\fP link to point to your preferred certificate and \fB/etc/ssl/private/${package}.pem\fP to point to corresponding key. Again \fBssl-cert2\fP will leave the links alone. .SH SEE ALSO .BR make-ssl-cert2 (8), .BR dpkg-reconfigure (8), .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).