Differences
This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
postfix:how_to_make_ssl_key [2007/01/14 23:29] greebo created |
postfix:how_to_make_ssl_key [2007/01/14 23:30] greebo |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | mkdir / | + | mkdir / |
- | cd / | + | cd / |
- | #openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024 | + | #openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024\\ |
- | chmod 600 smtpd.key | + | openssl genrsa |
- | openssl req -new -key smtpd.key -out smtpd.csr | + | |
- | openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt | + | chmod 600 smtpd.key |
- | openssl rsa -in smtpd.key -out smtpd.key.unencrypted | + | openssl req -new -key smtpd.key -out smtpd.csr |
- | mv -f smtpd.key.unencrypted smtpd.key | + | openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt |
- | openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650 | + | openssl rsa -in smtpd.key -out smtpd.key.unencrypted |
+ | mv -f smtpd.key.unencrypted smtpd.key | ||
+ | openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650 \\ |