Certificate issued but nothing appear

Today, I issued a certificate for my domain (if I check on crt.sh, It’s declared a ‘precertificate’ for my domain and sub domain).
But if I go to: https://www.ssllabs.com/ssltest/analyze.html?, It’s unable to resolve my domain name.

My server is hosted by Amazon lighsail and my web server is Apache 2 (port 80 that I redirect to my post 3000). My application server is NodeJS (port 3000).
Obviously, when I go to my domain name to reach my application, no certificate is shown. (I can reach my application with http but not https).

What I have done:
I create an account with certbot.
I requested a certificate successfully.
I linked my certificate keys (fullchain.pem and privkey.pem) to my apache configuration described see below:

Why my certificate is not reachable ? My idea is that my apache configuration is not good but I have no clue what to modify.

In my /etc/apache2/site-enabled, my file 000-default.conf is linked to my file …/site-available/000-default.conf
In my /etc/apache2/site-available folder, I have:
000-default.conf
default-ssl.conf
Should I create a my-domain.conf as stated in the step 2 there: https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04 and https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-18-04#step-5-—-setting-up-virtual-hosts-(recommended) ?

Moreover, here: https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-18-04#step-5-—-setting-up-virtual-hosts-(recommended)
they advise to create a directory for my domain in /var/www/your_domain in step 5?

1 Like

You are using a bitnami image, you should follow their documentation:

https://docs.bitnami.com/general/faq/administration/generate-configure-certificate-letsencrypt/

(and you don’t need certbot, you can remove it)

2 Likes

oh really ???
@9peppe thanks, I follow your way and my certificate is enabled now :slight_smile:
Now I need to redirected my domain name to my nodeJS application on the port 3000 …

1 Like

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