I've turned on force SSL

but

how to fix it?
centos7.8

  • CQT replied to this.

    tankchow Please times more precisely than what repairs the SSL certificate or what.
    Is it the SSL for the panel or just for a domain?

    If the certificate is broken, you only need to click on renew.

    If it is for the aaPanel, just go to Settings at the top of Panel SSL, deactivate and then confirm in the next pop-up that the deactivation leaves the browser. Then activate aaPanel SSL again and confirm in the pop-up which certificate you would like to use. If you have it from another provider (Comodo or other) than LetsEncrypt, simply copy the CRT / PEM Private Key into the fields provided.

      4 days later

      First your Domain has to be accessible
      otherwise certificate won ´t work
      make sure your domain can be reached from any browser

      second if I where you I would

      1. delete that certificate
      2. create a new one
        then click certificate holder tab and click on deploy
        after that click force ssl

      and you should be Good to go

      advise
      if you are hosting a script (example php script or any sort of script instead of static html)
      some scripts have an option in their site settings to choose whether or not to use https instead of http

      make sure if the script has any setting
      set them all as https or ssl
      otherwise, it gives you nagging errors (happened to me once LOL)