HELP - has install LetsEncrypt , can not open the website

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: cshopin.com

I ran this command: sudo yum install certbot python2-certbot-apache
sudo certbot --apache
echo “0 0,12 * * * root python -c ‘import random; import time; time.sleep(random.random() * 3600)’ && certbot renew -q” | sudo tee -a /etc/crontab > /dev/null

It produced this output: install successful

My web server is (include version): centos7.6

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

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): yes

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

you have a redirect loop. something in your configuration is serving

<meta http-equiv="Refresh" content="0;URL=http://cshopin.com/" />

on https://cshopin.com/. Tell it to stop. And serve your website on that address.

It’s probably just a mixup in your apache config, check it.

% curl -iL http://cshopin.com/
HTTP/1.1 302 Found
Date: Thu, 16 Apr 2020 14:49:32 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.33
Location: https://www.cshopin.com/
Content-Length: 208
Content-Type: text/html; charset=iso-8859-1

HTTP/1.0 301 Moved Permanently
Date: Thu, 16 Apr 2020 14:49:33 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.33
X-Powered-By: PHP/7.0.33
Location: https://cshopin.com/
Vary: User-Agent
Content-Length: 0
Connection: close
Content-Type: text/html; charset=utf-8

HTTP/1.1 200 OK
Date: Thu, 16 Apr 2020 14:49:34 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.33
X-Powered-By: PHP/7.0.33
Vary: Accept-Encoding,User-Agent
Connection: close
Content-Type: text/html; charset=utf-8

<meta http-equiv="Refresh" content="0;URL=http://cshopin.com/" />%                 
1 Like

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