I need to update my tls certs, uploaded the new data via the UI and I can see it is stored in /etc/pmg/pmg-tls.pem
But when I run openssl to test, I still get the old cert.
After browsing around I noticed the following entries in /etc/pmg/templates/main.cf
So someone before me has been redirecting the cert location. Now, what do I need to do to revert back to the original setup?
I tried to comment out those 3 lines, hoping that a "default" is used, but after that change I no certs are returned by openssl
So I guess I need to point to /etc/pmg/pmg-tls.pem in main.cf but there's only one file?
Or in other words, what is the original entry which will replace those 3?
Edit: where ever it says main.cf read this as
for some reason the editor here keeps on removing the ".in"
But when I run openssl to test, I still get the old cert.
After browsing around I noticed the following entries in /etc/pmg/templates/main.cf
Code:
smtpd_tls_cert_file = /etc/ssl/certs/wildcard.crt
smtpd_tls_key_file = /etc/ssl/private/wildcard.key
smtp_tls_CAfile = /etc/ssl/certs/wildcard-cacerts.cer
So someone before me has been redirecting the cert location. Now, what do I need to do to revert back to the original setup?
I tried to comment out those 3 lines, hoping that a "default" is used, but after that change I no certs are returned by openssl
Code:
openssl s_client -connect mail.mydomain.com:25 -starttls smtp -no_ssl3
CONNECTED(00000003)
4027F9C4B67F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:354:
---
no peer certificate available
---
No client certificate CA names sent
So I guess I need to point to /etc/pmg/pmg-tls.pem in main.cf but there's only one file?
Or in other words, what is the original entry which will replace those 3?
Edit: where ever it says main.cf read this as
Code:
main.cf
Last edited: