Issuing Mailserver SSL: Could not connect to server, please refresh this page

Hi,

I’m trying to Issue SSL For MailServer but in the end I receive the following error: “Could not connect to server, please refresh this page”.

Issuing SSL for my other websites works fine but not for MailServer.

Is there any command (for MailServer domain, not for a regular website) I should try to run through the terminal to debug this and see why this error happens? Something like this:

/root/.acme.sh/acme.sh --issue -d <YOUR\_DOMAIN> -d www.<YOUR\_DOMAIN> --cert-file /etc/letsencrypt/live/<YOUR\_DOMAIN>/cert.pem --key-file /etc/letsencrypt/live/<YOUR\_DOMAIN>/privkey.pem --fullchain-file /etc/letsencrypt/live/<YOUR\_DOMAIN>/fullchain.pem -w /usr/local/lsws/Example/html --force --debug

I would appreciate any help regarding this issue. Thanks in advance!

P.S. Issuing SSL For MailServer for my subdomain (mail.mydomain.com) works fine as well, but not for the root domain (mydomain.com).

I am having the same issue.

Happy New Year @dannygarcia

Try an upgrade see if the issue will go away.

Which server os is this ?

@josephgodwinke Which module should I upgrade? I have the latest version of Cyberpanel.

OS: Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-146-generic x86_64)

Ok, somehow I managed to get the message for mailserver domain:
SL Issued, your mail server now uses Lets Encrypt!

The solution was:

  1. Create .well-known folder inside of public_html folder.
  2. Inside of this folder create two more folders:
    acme-challenge
    pki-validation
  3. Change permissions RECURSIVELY for .well-known folder

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.