1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Resolve an SSL/https issue
This guide suggests solutions to resolve common issues and frequent errors that may occur when you try to display your website in https after activating an SSL certificate.
The web browser automatically displays the http version of the site when you try to access it in https
It is recommended to perform the following actions:
- Empty the cache of your applications or your site.
- Check that the pages and scripts of the site do not contain redirects to the
httpversion of the site. - Check that the site's
.htaccessfile does not contain redirects to thehttpversion of the site. - Set the site's
httpsaddress as the default one:
The website is displayed incorrectly (missing images, unsupported stylesheets, etc.) or displays a warning in the address bar
It is recommended to perform the following actions:
- Empty the cache of your applications or your site.
- Check that the pages and scripts do not point to external resources in
http; the site whynopadlock.com can help you identify the unsecured elements of your site. - Also refer to this other guide on this subject.
"This web page has a redirect loop", "ERR_TOO_MANY_REDIRECTS"
If your web browser displays this error, it is recommended to perform the following actions:
- If the site works with a web application like WordPress or Joomla, deactivate the extensions one by one to identify the problematic one.
- Check that the pages and scripts of the site do not contain redirects to the http version of the site.
- Try to deactivate HSTS.
- If Prestashop is used, SSL must be activated on all pages:
- Add your SSL domain:
- Go to Preferences > SEO & URLs.
- In the "Store URL" section, enter your site address in the "SSL Domain" field (without the
https://, justwww.domain.xyz).
- Activate SSL:
- Go to Preferences > General settings.
- At the top of the page, click on "Click here to use the HTTPS protocol before activating SSL mode."
- A new page will open with your site in the secure HTTPS version.
- Force the use of SSL on the entire site:
- Go back to Preferences > General settings.
- Set the "Enable SSL" option to YES.
- Also set "Force the use of SSL for all pages" to YES.
- Add your SSL domain:
An old SSL certificate is displayed - clear the SSL cache
Web browsers cache SSL certificates to speed up navigation. Normally, this is not a problem. However, when you develop pages for your website or install a new certificate, the browser's SSL status may bother you. For example, you might not see the padlock icon in the browser's address bar after installing a new SSL certificate.
The first thing to do in this case is to make sure that the domain points to the server's IP address (A and AAAA records) and if it is still the wrong SSL certificate that is returned, clear the SSL cache:
- Chrome: go to Settings and click on Settings. Click on Show advanced settings. Under Network, click on Change proxy settings. The Internet Properties dialog box appears. Click on the Content tab. Click on Clear SSL state, then click OK. Refer to other tips in this other guide.
- Firefox: go to History. Click on Clear Recent History then select Active Connections and click on Clear Now.
Loss of CSS formatting
If the website is displayed without CSS style, analyze the page loading with the browser Console. There may be mixed content errors (mixed content) related to your styles .css, which you will need to resolve so that they are loaded correctly again.
Cloudflare
If you are using Cloudflare, refer to this other guide on the subject.