Hi all I've following in the log: Code: Sep 18 13:55:01 websrv1 postfix/smtpd[5418]: warning: TLS library problem: 5418:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105: Sep 18 13:55:01 websrv1 postfix/smtpd[5418]: warning: TLS library problem: 5418:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:403: Sep 18 13:55:01 websrv1 postfix/smtpd[5418]: warning: TLS library problem: 5418:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669: Sep 18 14:00:02 websrv1 postfix/smtpd[5532]: warning: cannot get private key from file /etc/postfix/ssl/smtpd.key Sep 18 14:00:02 websrv1 postfix/smtpd[5532]: warning: TLS library problem: 5532:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105: Sep 18 14:00:02 websrv1 postfix/smtpd[5532]: warning: TLS library problem: 5532:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:403: Sep 18 14:00:02 websrv1 postfix/smtpd[5532]: warning: TLS library problem: 5532:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669: Sep 18 14:05:03 websrv1 postfix/smtpd[6675]: warning: cannot get private key from file /etc/postfix/ssl/smtpd.key Sep 18 14:05:03 websrv1 postfix/smtpd[6675]: warning: TLS library problem: 6675:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105: Sep 18 14:05:03 websrv1 postfix/smtpd[6675]: warning: TLS library problem: 6675:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:403: Sep 18 14:05:03 websrv1 postfix/smtpd[6675]: warning: TLS library problem: 6675:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669: May I do not know how to it solve. Any ideas? thanks admins
To create a new ssl cert for postfix, run these commands: Code: cd /etc/postfix/ssl/ openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024 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