OpenSSL: Difference between revisions

From The Incoherency.Net Wiki
Jump to navigation Jump to search
Denis (talk | contribs)
New page: = OpenSSL = == Generate Key == === Encrypted Key === openssl genrsa -des3 -out domainname.key 1024 === Unencryhpted Key === openssl genrsa -out domainname.key 1024 == Generate CS...
 
Denis (talk | contribs)
Line 16: Line 16:


  openssl req -new -key domainname.key -out domainname.csr
  openssl req -new -key domainname.key -out domainname.csr
== Application Specific Notes ==
=== Courier IMAP ===
Courier IMAP requires the certificate and the key be contained within the same pem file like so:
<pre>
-----BEGIN CERTIFICATE-----
[encoded data]
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
[encoded data]
-----END RSA PRIVATE KEY-----
</pre>

Revision as of 16:21, 26 February 2008

OpenSSL

Generate Key

Encrypted Key

openssl genrsa -des3 -out domainname.key 1024

Unencryhpted Key

openssl genrsa -out domainname.key 1024


Generate CSR

openssl req -new -key domainname.key -out domainname.csr


Application Specific Notes

Courier IMAP

Courier IMAP requires the certificate and the key be contained within the same pem file like so:

-----BEGIN CERTIFICATE-----
[encoded data]
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
[encoded data]
-----END RSA PRIVATE KEY-----