SSL Certificate Creation
From Antiflux Wiki
(Difference between revisions)
m (log.antiflux.org.key -> hostname.key) |
|||
Line 7: | Line 7: | ||
<li><code>mv hostname.cert /etc/ssl/certs/hostname.crt</code></li> | <li><code>mv hostname.cert /etc/ssl/certs/hostname.crt</code></li> | ||
</ol> | </ol> | ||
+ | |||
+ | test | ||
Note: "make sign" will delete the CSR, so make a copy ahead of time if you're going to want it later. | Note: "make sign" will delete the CSR, so make a copy ahead of time if you're going to want it later. |
Revision as of 17:37, 17 May 2006
To generate a certificate for "hostname" signed with our CA key:
openssl genrsa -out /etc/ssl/private/hostname.key 1024
openssl req -new -key /etc/ssl/private/hostname.key -out /etc/ssl/antiflux/hostname.csr
cd /etc/ssl/antiflux
make sign
mv hostname.cert /etc/ssl/certs/hostname.crt
test
Note: "make sign" will delete the CSR, so make a copy ahead of time if you're going to want it later.