Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
postfix:how_to_make_ssl_key [2007/01/14 23:29]
greebo created
postfix:how_to_make_ssl_key [2012/05/16 12:01] (current)
a old revision restored
Line 1: Line 1:
-mkdir /etc/postfix/ssl +mkdir /etc/postfix/ssl \\ 
-cd /etc/postfix/ssl/+cd /etc/postfix/ssl/ \\
  
-#openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024+#openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024\\ 
 + 
 +openssl genrsa  -rand /vmlinuz -out smtpd.key 1536\\ 
 + 
 +chmod 600 smtpd.key \\ 
 +openssl req -new -key smtpd.key -out smtpd.csr \\ 
 +openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.pem \\ 
 +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 \\ 
 + 
 +\\ 
 +\\ 
 +smtpd_tls_cert_file=/etc/ssl/certs/smtpd.crt\\ 
 +smtpd_tls_key_file=/etc/ssl/private/smtpd.key
  
-chmod 600 smtpd.key 
-openssl req -new -key smtpd.key -out smtpd.csr 
-openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt 
-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 
postfix/how_to_make_ssl_key.1168813766.txt.gz · Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready