From LedHed's Wiki
Line 17: | Line 17: | ||
make certreq | make certreq | ||
− | Once you have a Certificate Request (.csr) you can go to | + | Once you have a Certificate Request (.csr) you can go to [http://www.cacert.org CACert.org] to have a Signed Certificate created. |
[[Category:OpenSSL]] | [[Category:OpenSSL]] |
Latest revision as of 16:08, 6 October 2007
To create a Self Signed SSL Certificate:
openssl req -x509 -nodes -newkey rsa:1024 -keyout \ /etc/ssl/private/yourcert.key \ -out /etc/ssl/private/yourcert.pem
This creates a 1024 bit Encrypted certificate, and saves it as /etc/ssl/private/yourcert.pem
RedHat/Fedora
In RedHat based distros generating SSL certs is simplified.
To generate a server key:
make genkey
To generate certificate request:
make certreq
Once you have a Certificate Request (.csr) you can go to CACert.org to have a Signed Certificate created.