Bug#390415: [Pkg-openssl-devel] Bug#390415: openssl: Cannot Get Private Key from Cert Created

Kurt Roeckx kurt at roeckx.be
Sun Oct 8 11:41:49 UTC 2006


On Sun, Oct 08, 2006 at 01:16:48PM +0800, Mohamed Sulaiman Sultan Suhaibuddeen wrote:
> 
> 
> I generate the key using:
> 
> openssl req -new -outform PEM -out
> /etc/postfix/smtpd.cert -newkey rsa:2048 \
> -nodes -keyout
> /etc/postfix/smtpd.key -keyform PEM -days 3650 -x509

That should generate a self-signed certificate, and that should work.

> I was
> following a guide from: http://workaround.org/articles/ispmail-sarge/

And you have the following in your postfix main.cf file?
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key

I've tried it with those settings, and it works for me.

Did you try testing it with s_client?


Kurt





More information about the Pkg-openssl-devel mailing list