1

I ty to send emails using MSMTP. I want to use TLS/SSL encryption for it.

Now I had to turn on the encryption in this lines:

 

# Enable or disable TLS/SSL encryption.

tls on

tls_starttls on

tls_trust_file /etc/ssl/certs/ca-certificates.crt

  My problem is from where I get the certificate to add it to /etc/ssl/.../ca-certificates.crt? I can download a letsencrypt .pem file from my hosting/email provider where I want to use the SMTP server to send the email. Do I have to add the .pem file in /etc/ssl/... and point to it in the MSMTP config file? Or do I have to generate one by myself or is a certificate still in /etc/ssl/... that I can use?

  • If you are lucky the Ubuntu package of such certs will be enough: sudo apt-get install ca-certificates – andrew.46 Jul 20 at 9:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.