From LedHed's Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
To create a Self Signed SSL Certificate:<br>
 
To create a Self Signed SSL Certificate:<br>
 
  openssl req -x509 -nodes -newkey rsa:1024 -keyout \
 
  openssl req -x509 -nodes -newkey rsa:1024 -keyout \
   /etc/ssl/private/yourcert.pem \
+
   /etc/ssl/private/yourcert.key \
 
   -out /etc/ssl/private/yourcert.pem
 
   -out /etc/ssl/private/yourcert.pem
  
 
This creates a 1024 bit Encrypted certificate, and saves it as ''/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 [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.