Community

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

da
dannygarcia #1

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).

LR
Lutfar Rahman #2

I am having the same issue.

jo
josephgodwinke #3

Happy New Year @dannygarcia

Try an upgrade see if the issue will go away.

Which server os is this ?

da
dannygarcia #4

@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)

da
dannygarcia #5

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 is closed to new replies.