ispconfig3.1.7p1 - ios mail app doesn't recognize a valid Let's Encrypt Cetfificate

Discussion in 'ISPConfig 3 Priority Support' started by nmazza, Jan 8, 2018.

  1. nmazza

    nmazza Member HowtoForge Supporter

    Hello,
    Since from 18th of December 2017, one day after, let's encrypt certificate renew.
    Ios mail client over iphone 6, 6plus, 7, 7plus and 5se
    says the following ...
    Let me show you 3 images.
    The domain is laviruta.com and the server domain is sofihacloud.com.ar
    At first I used another email client, spark for ios, and works fine,
    but some of my clients want use the ios mail client because is more familiar for them.

    Thanks
    I'll appreciate your cooperation
    Nestor Mazza
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. nmazza

    nmazza Member HowtoForge Supporter

    Yes,
    But I have some several troubles with the links on certificates folders, I had applied this configuration to all my 6 ISPConfig Servers

    Remember, my distro is CentOS 6.9 in this Server and onothers Servers is CentOS 7.4

    I had wrote you about this in some post before.
    ========================================
    Let me remember that..
    ========================================
    I have solved, doing the following
    [Using The Same Let's Encrypt SSL Certs For Other Major Services]
    /etc/postfix/main.cf
    ###smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    ###smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_tls_cert_file = /etc/letsencrypt/live/sofiha-isp.com.ar/fullchain.pem
    smtpd_tls_key_file = /etc/letsencrypt/live/sofiha-isp.com.ar/privkey.pem

    /etc/dovecot/dovecot.conf
    ###ssl_cert = </etc/postfix/smtpd.cert
    ###ssl_key = </etc/postfix/smtpd.key
    # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
    ###ssl = required
    ssl_cert = </etc/letsencrypt/live/sofiha-isp.com.ar/fullchain.pem
    ssl_key = </etc/letsencrypt/live/sofiha-isp.com.ar/privkey.pem
    ssl_protocols = !SSLv2 !SSLv3

    /etc/amavisd/amavisd.conf
    ###$inet_socket_port = 10024; # listen on this local TCP port(s)
    $inet_socket_port = [10024,10026]; # listen on multiple TCP ports

    service amavisd restart
    service postfix restart
    service dovecot restart

    [Changing ISPConfig 3 Control Panel (Port 8080)]
    /etc/httpd/conf/sites-enabled/000-ispconfig.vhost
    ###SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
    ###SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key
    SSLCertificateFile /etc/letsencrypt/live/sofiha-isp.com.ar/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/sofiha-isp.com.ar/privkey.pem
    service httpd restart

    but I don't know if I'm in the write way ?
    ========================================

    Thanks
    I'll appreciate your cooperation
    Nestor Mazza
     
    Last edited: Jan 8, 2018
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Your changes are generally ok, but not update safe, you will lose the config when you install an ISPConfig update.
     
  5. nmazza

    nmazza Member HowtoForge Supporter

    Sure, but I had any update after 7.1sp1
    I'll remember your comment from some time ago
     
  6. nmazza

    nmazza Member HowtoForge Supporter

    And, at your consideration what must be do to solve this situation?
    because I don't have any configurarion to modify.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    I don't use any Apple deivices, so I can't tell you what's the exact problem. But there are many reports out there that apple mail has problems with LE certs. Waht you can try is to check which LE chain certs are in the fullchain cert and maybe add some affitional ones: https://letsencrypt.org/certificates/
    Chain certs in postfix and dovecot can also be added in a separate file and loaded in postfix with:

    smtpd_tls_CAfile = /path/to/yourchain.crt

    and in dovecot:

    ssl_ca_file = /path/to/yourchain.crt

    Don't forget to restart the services.
     

Share This Page