How to get rid of an ssl security warning with expired certificate

后端 未结 1 1244
故里飘歌
故里飘歌 2021-01-21 03:35

In the past I had a ssl certificate but I don\'t have it anymore because I didn\'t use it. However, now I see that some of the my website\'s page are indexed on google with http

相关标签:
1条回答
  • 2021-01-21 04:07

    There's nothing you can do except renew your certificate.

    The warning is opened by your browser, before any request is ever even sent to the server. When it tries to resolve an HTTPS request, it first establishes the SSL handshake with the server, this is where the server gives the browser the certificate and the browser sees that it's expired. The browser then displays a security exception/warning. That means there is nothing that you can do on the server's end to prevent this from happening except addressing the certificate.

    After you've renewed your cert, you need to have a rule to redirect all HTTPS traffic to HTTP traffic using a 301 redirect.

    0 讨论(0)
提交回复
热议问题