[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 482
  • Last Modified:

HTTPS page keeps showing up

I just installed an ssl cert and now when I go to view the page I get a white page that says "This page must be viewed over a secure channel"I must type "https://" to access that page.  How can I get the secure page without the warning?

(I know that I can type https instead but I don't want viewers to have to do that)
0
zenportafino
Asked:
zenportafino
  • 2
  • 2
1 Solution
 
pepsichrisCommented:
You can put a redirect from the http:// version, so if the site you're trying to view is:

https://www.yoursite.com/secure/index.html

then set up a redirect from

http://www.yoursite.com/secure/index.html

There are a few ways to do it, but the easiest way would be a simple page like:

<html>
<head>
<title>Redirect Page</title>
<meta http-equiv="refresh" content="0;URL=https://www.yoursite.com/secure/index.html">
</head>

<body>

<p>You are being redirected...</p>
</body>
</html>

...with the META line being the important bit.  
0
 
zenportafinoAuthor Commented:
Thanks!  Do you know if it's possible to have a site that starts out in http and then re directs to https on the SAME ip??

My belief is that it is not possible and I've got a running bet at work (25 cents) that I'm right on this one. I'm not going to have to pay am I?
0
 
pepsichrisCommented:
As far as I know then your money's safe - now go buy yerself a car with your winnings!
0
 
zenportafinoAuthor Commented:
Thanks again.
0
 
humeniukCommented:
I don't know if this is still relevant and I know this question is closed, but here's a better way to resolve your problem: see 'How to automatically change from http to https for a specific folder' at www.iisfaq.com/Default.aspx?tabid=3051.

As this article points out, this is really a client issue rather than a server issue, so IIS can't be configured to automatically change from http to https.  The solution is to create a redirect page and assign it as a custom 403.4 error page (instead of the "This page must be viewed over a secure channel" error you are seeing).
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now