Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
postfix:how_to_make_ssl_key [2007/01/14 23:30] greebo |
postfix:how_to_make_ssl_key [2009/05/25 00:35] 127.0.0.1 external edit |
||
---|---|---|---|
Line 8: | Line 8: | ||
chmod 600 smtpd.key \\ | chmod 600 smtpd.key \\ | ||
openssl req -new -key smtpd.key -out smtpd.csr \\ | openssl req -new -key smtpd.key -out smtpd.csr \\ | ||
- | openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt \\ | + | openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.pem \\ |
openssl rsa -in smtpd.key -out smtpd.key.unencrypted \\ | openssl rsa -in smtpd.key -out smtpd.key.unencrypted \\ | ||
mv -f smtpd.key.unencrypted smtpd.key \\ | mv -f smtpd.key.unencrypted smtpd.key \\ | ||
openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650 \\ | openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650 \\ | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | smtpd_tls_cert_file=/ | ||
+ | smtpd_tls_key_file=/ | ||
+ |