Changes between Version 3 and Version 4 of SSL Certificate Management
- Timestamp:
- 01/13/08 21:48:42 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SSL Certificate Management
v3 v4 111 111 This creates directories and files that are refered to in the default openssl config file, `/usr/lib/ssl/openssl.cnf`. (Alternatively, you could alter the config file to specify different directories and filenames.) 112 112 113 The file, `serial`, contains the "serial number" that will go in the certificate. It should just be a text file that contains a hexadecimal number. Normally, you would increment that every time you renewed thecertificate. To see the serial number on the previous certificate, enter:113 The file, `serial`, contains the "serial number" that will go in the certificate. It should just be a text file that contains a hexadecimal number. Normally, you would increment that every time you renewed any certificate. To see the serial number on the previous certificate, enter: 114 114 {{{ 115 115 openssl x509 -noout -text -in mail.astro.columbia.edu-cert.pem.old 116 116 }}} 117 where `mail.astro.columbia.edu-cert.pem.old` is the old certificate file. Include the full path if it is not in the current directory. 117 where `mail.astro.columbia.edu-cert.pem.old` is the old certificate file. Include the full path if it is not in the current directory. Note that the serial number needs to be unique among all certificates certified by that CA, not just among all certificates certified by that CA with the same Common Name (CN). 118 118 119 119 When all the files are in place, run the following command: … … 144 144 Path to Certificate: /etc/ldap/slapd.cert 145 145 Path to Key File: /etc/ldap/slapd.key 146 Valid: 1/1 0/2007 03:00:24 GMT - 1/10/2008 03:00:24GMT147 Serial Number: 0 9148 Subject: DC=edu, DC=columbia, DC=astro, OU=services, CN=mars.astro.columbia.edu146 Valid: 1/14/2008 02:00:15 GMT - 1/13/2009 02:00:15 GMT 147 Serial Number: 0D 148 Subject: C=US, ST=New York, O=Columbia University Astrophysics Laboratory, CN=mars.astro.columbia.edu/emailAddress=security@astro.columbia.edu 149 149 }}} 150 150 … … 168 168 Path to Certificate: /etc/ssl/certs/docs.astro.columbia.edu-cert.pem 169 169 Path to Key File: /etc/ssl/private/docs.astro.columbia.edu.pem 170 Valid: 1 2/28/2006 19:52:26 GMT - 12/28/2007 19:52:26GMT171 Serial Number: 0 8172 Subject: DC=edu, DC=columbia, DC=astro, OU=services, CN=docs.astro.columbia.edu170 Valid: 1/14/2008 02:24:02 GMT - 1/13/2009 02:24:02 GMT 171 Serial Number: 0E 172 Subject: C=US, ST=New York, O=Columbia University Astrophysics Laboratory, CN=docs.astro.columbia.edu/emailAddress=security@astro.columbia.edu 173 173 }}} 174 174
