NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dovecot again/still



My problem appears to be with the ssl library.   I've never had much
to do with certificates and keys, but I wonder whether the ssl library
is expecting to find a certificate and a private key in the same file.
mkcert.sh generates two separate files.

Here is a maillog extract:

Oct  8 22:15:20 body postfix/smtpd[27299]: warning: cannot get private key from 
file /etc/ssl/certs/body.prd.co.uk.pem
Oct  8 22:15:20 body postfix/smtpd[27299]: warning: TLS library problem: 
27299:e rror:0906D06C:PEM routines:PEM_read_bio:no start 
line:/home/builds/ab/netbsd-4-0 
-1-RELEASE/src/crypto/dist/openssl/crypto/pem/pem_lib.c:647:Expecting: ANY 
PRIVATE KEY:
Oct  8 22:15:20 body postfix/smtpd[27299]: warning: TLS library problem: 
27299:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM 
lib:/home/builds/ab/n
etbsd-4-0-1-RELEASE/src/crypto/dist/openssl/ssl/ssl_rsa.c:669:
Oct  8 22:15:20 body postfix/smtpd[27299]: cannot load RSA certificate and key d
ata

You wrote:
> 
> http://agentoss.wordpress.com/2013/01/06/home-mail-server-with-postfix-dovecot-imap-squirrelmailroundcube-on-netbsd-6-0-1/
> 
> This was very helpful when I struggled with configuring a mail server.
> 
> Regards,
> -- 
> Bartek Krawczyk
> 


-- 
Steve Blinkhorn <steve%prd.co.uk@localhost>



Home | Main Index | Thread Index | Old Index