Skip to main content

Fail to generate certificate (Auto/SSL) after update

Comments

4 comments

  • cPanelMichael
    Hi Rodrigo, Could you open a support ticket using the link in my signature so we can take a closer look? Please post the ticket number here so we can monitor the ticket and update this thread with the outcome. Thank you.
    0
  • Rodrigo Gomes
    Hi Rodrigo, Could you open a support ticket using the link in my signature so we can take a closer look? Please post the ticket number here so we can monitor the ticket and update this thread with the outcome. Thank you.

    Hello Michael, The problem was the Varnish Cache that I have installed on my server. Since this specific site has a dedicated IP, I had to configure the backend that Varnish should access correctly, for example:
    sub vcl_recv { if (req.http.host ~ "(?i)^(www\.|mail\.|ftp\.|cpanel\.|whm\.|ipv6\.)?(examplehost\.com$)") { set req.backend_hint = server1; } else { set req.backend_hint = server2; } }
    With this change, the certificate was generated and the problem was fixed. :) However, I noticed that sites that are in Cloudflare are not generating the mail. subdomain certificate.
    18:13:26 NOTICE The domain "myhost.com" failed domain control validation: The system queried for a temporary file at "http://myhost.com/.well-known/pki-validation/EA47A663B496F57C2D0D2D5D828E8328.txt", but the web server responded with the following error: 500 (Internal Server Error). A DNS or web server misconfiguration may exist. The domain "myhost.com" resolved to an IP address "104.31.86.80" that does not exist on this server. 18:13:26 NOTICE The current SSL certificate for "myhost.com" protects the domain "myhost.com". However, this domain has not passed local domain control validation. To maintain SSL domain coverage for this domain, the system will not attempt to override the current certificate.
    This is ok, since Cloudflare also generates the certificate itself. However, Auto/SSL does not attempt to generate the certificate only for the mail. subdomain. This is a problem for those who use SSL/TLS in emails. Thank you!
    0
  • cPanelMichael
    However, Auto/SSL does not attempt to generate the certificate only for the mail. subdomain. This is a problem for those who use SSL/TLS in emails.

    Feel free to open a separate support ticket if you'd like us to take a closer look to see what's happening. Thank you.
    0
  • Rodrigo Gomes
    Everything went back to working normally without me needing to do anything. Thank you Michael!
    0

Please sign in to leave a comment.