HTTPS certificate not working

Last April, I asked for a HTTPS certificate "Let's Encrypt" for my application.
I installed a script to renew it autommatically.
Since April, I had no problem until last week and my HTTPS certificate has been renewed successfully.

Problem: My application is still reachable by my IP Adress but the redirection of my domain name to my IP Adress doesn't work anymore. I have no clue why.

  1. When I check on: https://www.ssllabs.com/ssltest/index.html with my domain name, I have this error:
    Assessment failed: Unable to connect to the server (but the result still return my IP Adress).

  2. When I check on: https://crt.sh/, I have my certificate who is valid unitl 26th of November:
    Validity
    Not Before: Aug 28 23:00:25 2020 GMT
    Not After : Nov 26 23:00:25 2020 GMT

Any clue where the problem can be ? What can I check to locate the problem ?
The problem is problably due to:

  • My certificate renewal ?

  • My redirection domaine name --> IP Adress ?

  • My server web ?

Hi @farang1991

your setup is unknown.

Your domain name is required.

My domain name is: https://promis2.laophenixconsulting.com/

What information of my Setup should be required?

Checking your domain - https://check-your-website.server-daten.de/?q=promis2.laophenixconsulting.com#url-checks

You have created one certificate, so that part has worked.

Issuer not before not after Domain names LE-Duplicate next LE
Let's Encrypt Authority X3 2020-08-28 2020-11-26 promis2.laophenixconsulting.com
1 entries
Let's Encrypt Authority X3 2020-06-30 2020-09-28 promis2.laophenixconsulting.com
1 entries

But your https doesn't answer

ConnectFailure - Unable to connect to the remote server

So it's impossible to check your configuration.

Ok so my certificate is valid but not reachable from outside ?
How can I know where is the problem ?

I'm using NodeJS server and Apache. (I redirect my application to my port 80 and then my port 443)

I don't know if you use the certificate. So that conclusion is wrong.

Change that. AWS -> Firewall, security groups.

My port HTTPS is active on AWS.
How can I know on my server if I use a certificate or not ?

*Edit: My certificate was used during some months and renewed successfully as well more than 1 time.
Maybe a problem happened while my script was executed to renew my certificate (I stop and start my apache server)?

I would say try restarting your web server one more time, but port 80 is responding:

HTTP/1.1 200 OK
Date: Fri, 16 Oct 2020 17:05:59 GMT
Server: Apache/2.4.18 (Ubuntu)
X-Powered-By: Express
Accept-Ranges: bytes
Cache-Control: public, max-age=0
Last-Modified: Wed, 05 Aug 2020 10:14:59 GMT
ETag: W/"1acf-173be1deec0"
Content-Type: text/html; charset=UTF-8
Content-Length: 6863

So port 443 should also be responding, but it doesn't:
curl: (7) Failed to connect to 52.220.236.212 port 443: Connection refused