ISPConfig servername for Let'sEncrypt issue

Discussion in 'ISPConfig 3 Priority Support' started by jpcyrenne, Jun 27, 2023.

  1. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Good day,

    Running a Ubuntu 18.04 and upgrading to the latest ISPConfig. I noticed that the servername is OK in hostnamectl (and in the main.cf postfix file) but I get a wrong name in the SSL/tls generation path and DNS lookup... (Normal because it is wrong)

    ispconfig_update.sh
    ...
    Create new ISPConfig SSL certificate (yes,no) [no]: yes

    Checking / creating certificate for abcdegf.com
    Using certificate path /etc/letsencrypt/live/abcdegf.com

    Where would I go to correct this typo (most probably an old mistake?). I would like to generate a Let'sEncrypt certificate for the machine (to comply to Apple),

    Thank you in advance,

    JP
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Check with commands
    Code:
    hostname
    hostname -f
    what the configured hostname and FQDN are, and see instructions in man hostname or ISPConfig Perfect Server Manual to change.
     
  3. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Wow you are right. I learned something today. hostnamectl and hostname -f are not the same. cat /etc/hostname was also good. The error seemed to be in /etc/hosts...

    I fixed everything, rebooted, reran the 'ispconfig_update.sh --force parameter' and its's all good now.

    Thank you very much for your support.

    JP
     
    till likes this.

Share This Page