Server Domain change - Problem with certificate

Discussion in 'Installation/Configuration' started by Petar, Apr 8, 2019.

  1. Petar

    Petar Member HowtoForge Supporter

    Dear support and colleagues,

    We're having a weird problem after changing the domain of the server.
    Installed: Perfect Debian 9 Apache ISPC 3.1
    domain of the server changed.
    necessary changes made in:
    /etc/hosts,
    hostname,
    postfix/main.cf,
    ISPC-WEB server config... everywhere

    The problem is that the old name of the server is kept in some letsencrypt certificate.
    My guess: at the IPSC installation script.
    When email clients try to connect, they always ask if to accept the certificate
    and when we press view certificate - we can see that its the old domain name.

    Should we also restart the ISPConfig installation script and choose to issue new certificates or?

    Based on all recommendations on the forum after domain change there was never mentioned anything about certificate change. Only the base settings that we already changed.

    Best regards
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The ispconfig installation script does not create or configure a let's encrypt SSL certificate. If you have a let#s encrypt certificate for ISPConfig itself, then you must have installed it after ispconfig installation and then you have to change it manually.
     
  3. Petar

    Petar Member HowtoForge Supporter

    Hi Till, thank you for the response.
    I thought that during the install of the ISPC script, the 2 times that it asks for cert data are used for this.
    But right now i tried with ISPC upgrade to the latest patch and choosing to reconfigure cert but its still the same when communicating with the mail server. The certificate which is asked in Outlook is with the old domain name.

    If i go through web interface to mail.domain.com, then the new cert is shown.
    If i try to send-receive mail in outlook, then it asks if it should connect with the server with mail.old-domain.com

    Can you please advice which certificate to renew?

    BR
     

Share This Page