Vytautas Kasparavičius writes:

On 2014.04.14 15:20, Sam Varshavchik wrote:
> 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
>
Again,
I converted private key with no luck, still getting this error. Why
everything was OK with older courier versions(0.71 and older) I'm using
this key for 3 or more years without problems.

Just for analysis, set aside the existing certificate file, and create a fresh one with mkesmtpdcert.

Attachment: pgpXk2YxcdRTY.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