OpenSSL

From The Incoherency.Net Wiki
Revision as of 17:58, 26 February 2008 by Denis (talk | contribs) (OpenSSL)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Generate Key

[edit]

Encrypted

[edit]
openssl genrsa -des3 -out domainname.key 1024

Unencrypted

[edit]
openssl genrsa -out domainname.key 1024

Generate CSR

[edit]
openssl req -new -key domainname.key -out domainname.csr


Application Specific Notes

[edit]

Courier IMAP

[edit]

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-----