How to verify that SSL for IMAP/POP3/SMTP works and the proper certificate is installed using Linux

Follow

Comments

4 comments

  • Avatar
    Henri Pelkonen

    I have similar problem, as OVH Let's encrypt SSL won't work, and mail certifies by domain always resort to ovh address.

  • Avatar
    Lev Iurev

    @Henri, could you please describe the issue in more details?

  • Avatar
    Henri Pelkonen (Edited )

    @Lev Iurev

    Hi,

    For starters I must say I'm very new to this and this is my first server setup with Plesk and mail server.

    Would you recommend 1 serverwide certificate to secure multiple domains or every domain with own sertificate as my vps is with shared IP?

    The problem is that I can't make sertificate now for my OVH vps cause number of *.ovh.net certs are restricted by Let's Encrypt. So should I get a own domain for vps and plesk server and get sertificate to that or could and should I get separate domain name sertificates to work with each domain? As for now the domains seems to show vps plesk self signed certificate even though they are set to Let's Encrypt via Plesk panel.

    Is there a way to force certificates to domain and bypass the plesk certificate and check them after they are set that tey truly are correct? Do I just need some refresh? I have use something like for now:

    true | openssl s_client -connect YOUR-DOMAIN.COM:995 | openssl x509 -noout -text | grep DNS:
  • Avatar
    Artyom Baranov


    @Henri Pelkonen,

    >Would you recommend 1 serverwide certificate to secure multiple domains or every domain with own sertificate as my vps is with shared IP?

    I would use free Let's Encrypt certificates to secure my domains.

    >Is there a way to force certificates to domain and bypass the plesk certificate and check them after they are set that tey truly are correct?

    Make sure that SSL/TLS support is enabled and Let's Encrypt certificate is selected in Domains > example.com > Hosting Settings > Security

    Afterwards, use the following command to check which cert is used for a domain (where example.com is the domain name):

    # openssl s_client -showcerts -servername example.com -connect example.com:443

     

Please sign in to leave a comment.

Have more questions? Submit a request