Bartholomew Jones Posted February 9 Report Share Posted February 9 I have a small secure web app that loads with the security padlock at the beginning of url if I enter https://, but it loads exclamation if I don't prefix the url. How can I associate my ssl certificate without having to type the prefix? Here's the certified page: https://nowbypound.live. Here the same page that doesn't return my certificate: nowbypound.live. Quote Link to post Share on other sites
360 Posted February 9 Report Share Posted February 9 17 hours ago, Bartholomew Jones said: I have a small secure web app that loads with the security padlock at the beginning of url if I enter https://, but it loads exclamation if I don't prefix the url. How can I associate my ssl certificate without having to type the prefix? Here's the certified page: https://nowbypound.live. Here the same page that doesn't return my certificate: nowbypound.live. You can enforce HTTPS by using .htaccess. Quote RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.