Notifications
Clear all
BugOverflow
1
Posty
1
Users
0
Reactions
2,171
Widok
0
30/07/2015 9:30 pm
Topic starter
Postfix „warning: cannot get RSA private key from file” – Server Fault
1 Answer
0
30/07/2015 9:30 pm
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