Hi Guys, I have just purchased and installed an authenticated certificate for the mail server, but I am getting errors from dovecot. My mail.err file is showing the following. Mar 7 17:56:04 mailserver dovecot: pop3-login: Can't load private key file /etc/ssl/mailserver/mail.mydomain.tld.key: error:0906A068:PEM routines:PEM_do_header:bad password read My dovecot.conf has the following set. # Uncomment these if using SSL ssl_cert_file = /etc/ssl/mailserver/mail.mydomain.tld.crt ssl_key_file = /etc/ssl/mailserver/mail.mydomain.tld.key #ssl_key_password #ssl_ca_file = /etc/ssl/mailserver/ca/mydomain.pem #ssl_verify_client_cert = yes ssl_parameters_regenerate = 168 verbose_ssl = no I have been playing about with it all for about 3 hours now and would greatly appreciate any help ;) Regards Adam -------------------------------------------------------------------- myhosting.com - Premium Microsoft? Windows? and Linux web and application hosting - http://link.myhosting.com/myhosting
On Fri, 7 Mar 2008, adamsh at fsfa.org wrote:> Hi Guys, > > I have just purchased and installed an authenticated certificate for the > mail server, but I am getting errors from dovecot. > > My mail.err file is showing the following. > > Mar 7 17:56:04 mailserver dovecot: pop3-login: Can't load private key file > /etc/ssl/mailserver/mail.mydomain.tld.key: error:0906A068:PEM > routines:PEM_do_header:bad password read > > My dovecot.conf has the following set. > > # Uncomment these if using SSL > ssl_cert_file = /etc/ssl/mailserver/mail.mydomain.tld.crt > ssl_key_file = /etc/ssl/mailserver/mail.mydomain.tld.key > #ssl_key_password > #ssl_ca_file = /etc/ssl/mailserver/ca/mydomain.pem > #ssl_verify_client_cert = yes > ssl_parameters_regenerate = 168 > verbose_ssl = no > > I have been playing about with it all for about 3 hours now and would > greatly appreciate any help ;)It sounds like you encrypted the key with a password...you would put that as the ssl_key_password in the config above. Andy --- Andy Dills Xecunet, Inc. www.xecu.net 301-682-9972 ---
Apparently Analagous Threads
- Strange checkpassword issue
- Panic: file mail-index-transaction-export.c: line 203 (log_append_ext_hdr_update): assertion failed: (u32.offset + u32.size <= ext_hdr_size)
- ssl_key_password loaded from file: 'Couldn't parse private ssl_key'
- tls not working with postfix in chroot mode on centos4.0
- ssl_key_password loaded from file: 'Couldn't parse private ssl_key'