Forum

Postfix „warning: c...
 
Notifications
Clear all

Postfix „warning: cannot get RSA private key from file” – Server Fault

1 Posty
1 Users
0 Likes
1,972 Widok
0
Topic starter

Postfix „warning: cannot get RSA private key from file” – Server Fault

1 Answer
0
Topic starter

There is huge possibility that your key begins with

-----BEGIN RSA PRIVATE KEY-----

you have to convert it into

-----BEGIN PRIVATE KEY-----

openssl pkcs8 -topk8 -inform pem -in file.key -outform pem -nocrypt -out file.pem

then load it with smtpd_tls_key_file inside main.cf

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: