I configured apache and web site is working fine with 80 port. After installing
TLS: I can't access my website.
My domain is: email.mydomain.net
I ran this command: sudo certbot --apache --agree-tos --redirect --hsts --staple-ocsp --email myemail@email.com -d email.mydomain.net
Then installed successfully. [sudouser@centos conf.d]# ls mydomain.conf mydomain.net-le-ssl.conf
1st one is I created 2nd one is created by certbot.
My web server is (include version): Apache 2.4
The operating system my web server runs on is (include version): Centos 8
I can login to a root shell on my machine.
The version of my client: certbot 1.22.0
Should I create new conf file like email.etc.com.conf?
Well, if requests for HTTPS aren't getting to your own webserver, but are getting "stuck" at some firewall, then you need to ask your network operator on how to proceed I think. Having a Let's Encrypt certificate sitting on the server somewhere "deep" inside the network without someone being able to access it, is kinda useless unless the HTTPS requests are able to actually get to it
You may want to add Listen 80 in a line below NameVirtualHost *:80 and add Listen 443on a line after NameVirtualHost *:443. Oh, and for your ServerNameand ServerAlias, add your domain and the www version to those respectively.
Check your redirects in your conf files. Make sure you are redirecting to http to https with the same domain namebefore you redirect to another domain.
A check on your apex domain of [redacted] shows a redirect to http://eincenter.police.gov.mn/. BUT! There is a problem with that as well. It times out.
Check your redirects for all those subdomains on both apex domains, redirecting each subdomain from http to https (do www separately); then
you can redirect from one domain to another (https);
Check your Cloudflare setup. These connections presently are all timing out. Sometimes it's just a matter of changing a few settings in Cloudflare to get back up and running. Check with their customer support also.