Vytautas Kasparavičius writes:

After changing
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
To
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----

I'm getting following errors

It's not a matter of manually editing the file. It's the wrong key format.

See

http://stackoverflow.com/questions/20065304/what-is-the-differences-between- begin-rsa-private-key-and-begin-private-key

It wasn't mentioned where the original private key came from. I haven't checked, but if you're using openssl, there should be a way to convert the private key to pkcs8 format. According to http://courses.cs.ut.ee/ 2012/appcrypto/10/01 try

openssl pkcs8 -topk8 -nocrypt

Alternatively, you can simply remove this file, and use mkesmtpdcert to generate a new certificate and key.

Attachment: pgpE4e0BiK8Su.pgp
Description: PGP signature

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to