Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Troubleshooting SSL/HTTPS issues
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:
- Clear the cache of your applications or website.
- 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
httpsaddress of the site as the default:
The website is not displaying correctly (missing images, unsupported stylesheets, etc.) or displays a warning in the address bar
It is recommended to perform the following actions:
- Clear the cache of your applications or website.
- Check that the pages and scripts do not point to external resources using
http; the whynopadlock.com website can help you identify the insecure elements of your site. - Also, refer to this other guide on the subject.
"This webpage contains a redirect loop", "ERR_TOO_MANY_REDIRECTS"
If your web browser displays this error, it is recommended that you perform the following actions:
- If the website uses a web application such as WordPress or Joomla, disable the extensions one by one to identify the one causing the problem.
- Check that the website's pages and scripts do not contain redirects to the http version of the site.
- Try to disable HSTS.
- If Prestashop is used, SSL must be activated on all pages:
- Add your SSL domain:
- Go to Preferences > SEO & URLs.
- In the "Shop URL" section, enter your site's address in the "SSL domain" field (without
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 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 browsing. Normally, this is not a problem. However, when you are developing pages for your website or installing a new certificate, the browser's SSL status may be a hindrance. For example, you may 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 is pointing to the server's IP address (A and AAAA records), and if the wrong SSL certificate is still being 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. See other solutions 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 styling, analyze the page loading process using the browser's Console. You may find mixed content errors related to your .css styles, which will need to be resolved so that they can be loaded correctly again.
Cloudflare
If you are using Cloudflare, please refer to this other guide for more information.
Link to this FAQ: https://faq.infomaniak.com/2131
Has this FAQ been helpful?