Error code: SSL_ERROR_BAD_CERT_DOMAIN

Discussion in 'HOWTO-Related Questions' started by Mateus Takz, Feb 14, 2019.

  1. Mateus Takz

    Mateus Takz New Member

    hello to all the readers and collaborators of this incredible project.

    I'm having a Let'sEncrypt certification issue.

    I do not know how it happened, but what it does is: clicking on the Let'sEncrypt box, nothing happens.
    open the result domain is:

    The server domain.com uses an invalid security certificate. The certificate is only valid for the following names:
    otherdomain.com, www.otherdomain.com Error code: SSL_ERROR_BAD_CERT_DOMAIN.

    When looking for some explanation to the problem I found different:
    in the / var / www / folder there are symbolic links for each domain.
    the link points to a folder owned by another user.

    I already removed all domains in bind, links and folders and also in the panel.

    when creating the site in the ispconfig panel always comes back with this difference of ownership of the folder.
    Has anyone seen this and knows how to solve it?


    Sorry, google translate..
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You are using ISPConfig despite posting in the Linux forum?
    Try this to find out why Let's encrypt is not working.
    https://www.howtoforge.com/community/threads/lets-encrypt-error-faq.74179/
    That is as it should be in ISPConfig server.
    Another user than what? What is should look like in an ISPConfig server is root is owner and group for those symbolic links in /var/www. The directories pointed to by those links are ../clients/clientX/webY, and those directories must have webY as owner and clientX as group owner.
    Why? And how? Do you really mean you removed them from name service? If a domain is not in name service, it can not get Let's Encrypt certificate.
     

Share This Page