'Announce HTTPS version of web page without redirecting

My website is available via HTTP and HTTPS. I like to keep the non-ssl HTTP version in case something bad happens and the SSL certificates don't get renewed after 3 months (letsencrypt certificates are only valid for that long).

Is there a way to announce the availability of the HTTPS version when visiting the website via HTTP, but without redirecting or forcing the browser to use HTTPS?

(When forcibly redirecting clients to HTTPS, and the SSL certificate updates stop for whatever reason, the redirect will still be in place, making the website unusable.)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source