Having trouble installing a SSL to a webpage listening on a port

My domain is: grayles.net
What I did: Im trying to install a SSL/TLS certificate for webpage that uses a port. The command comes from CubeCoders AMP application.

It produced this output:

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: grayles.net
    Type: unauthorized
    Detail: Invalid response from https://www.grayles.net/index.php
    [54.39.28.26]: “\n<html lang=“en-gb”
    dir=“ltr”>\n\n\t<meta name=“viewport”
    content=“width=device-width, initial-scale=1.0” />\n\t”

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA record(s) for that domain
    contain(s) the right IP address.
    [Error] Certbot failed with code 1

My web server is (include version): NGINX 1.16.1

The operating system my web server runs on is (include version): Ubuntu 16.04

My hosting provider, if applicable, is: OVH

I can login to a root shell on my machine: Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Plesk Obsidian 18.0.21.4

The version of my client is: certbot 1.0.0


I am not sure what the error means and how to resolve it. The IP address and DNS records are fine / accurate. Many thanks!

1 Like

Hi @ren-kun

to understand the error message, start with some basics.

Then read something about challenge types:

Checking your domain you have already created two different Letsencrypt certificates - https://check-your-website.server-daten.de/?q=grayles.net#ct-logs

Issuer not before not after Domain names LE-Duplicate next LE
Let’s Encrypt Authority X3 2019-12-04 2020-03-03 *.grayles.net, grayles.net - 2 entries duplicate nr. 1
Let’s Encrypt Authority X3 2019-12-02 2020-03-01 grayles.net - 1 entries duplicate nr. 1

And you use it:

CN=grayles.net
	04.12.2019
	03.03.2020
expires in 90 days	*.grayles.net, grayles.net - 2 entries

With a second wildcard certificate from AlphaSsl.

So you can ignore the error, you have already a new certificate, that requires a correct confirmed challenge.

Don’t create certificates again, there is a rate limit:

PS: So it’s max. a certificate installation problem.

1 Like

Hello,

Thanks for the reading material -

I have proceeded to remove any duplicate SSL/TLS Certificates from my control panel and re-did the command and still come back to a similar error. Is there anything else I was meant to clean up?

You have deleted valid certificates? That’s always wrong. Looks like now your control panel is broken -> ask your hoster.

1 Like

Hello thanks for the reply!

I have fixed the control panel.