Setting up certificate for postfix-dovecot-roundcube

Discussion in 'ISPConfig 3 Priority Support' started by aldo, Nov 30, 2018.

  1. aldo

    aldo Member HowtoForge Supporter

    I would like to use an existing bought certificate in order to secure the ISPConfig3.1 mail services, I think, replacing the self-signed certificate made during the ISPConfig installation.
    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. aldo

    aldo Member HowtoForge Supporter

    I was a bit confused having received only two files: a bundle ca and the certificate (as .crt).
    Many parts could be obvious for many but not for everyone so here's what I did.

    First I put my private key into ispserver.key.

    Second I copied my .crt content into /usr/local/ispconfig/interface/ssl/ispserver.crt
    Code:
    nano /usr/local/ispconfig/interface/ssl/ispserver.crt
    Next, instead of downloading "Root CA and the Class1 Intermediate Server CA" I copied
    first part of bundle into sub.class1.server.ca.pem
    and the second part into ca.pem
    Where parts are delimited by "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----" (included).

    For the rest I followed the instructions except for having replaced the occurrences of "startssl" with the name of my certificate.
     
    till likes this.

Share This Page