If you just want to kick them out of https you can do that with Java script
on the appropriate pages.

<script language="JavaScript">
              var loc = document.location.toString();
              var index = loc.indexOf(":");
              var url = loc.substring(index,loc.length);
              if (index == "5") 
                  { 
                 standardUrl = "http" + url;
                 location.replace(standardUrl); // get rid of current page
in history
                 location.href = standardUrl;
              }
   </script>


Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged



-----Original Message-----
From: Chad Gray [mailto:[email protected]] 
Sent: Friday, October 02, 2009 3:06 PM
To: cf-talk
Subject: RE: ssl


I remove the code and hit the web site with ssl and it works fine.  I know
the certificate is good.

https://www.beeculture.com/

This one has me stumped.


> -----Original Message-----
> From: Dave Phillips [mailto:[email protected]]
> Sent: Friday, October 02, 2009 2:58 PM
> To: cf-talk
> Subject: RE: ssl
> 
> 
> My guess is you don't have a valid security certificate on the server.  If
> you have any cert installed, Firefox is first going to get that cert info
> from the web server before your request ever gets to ColdFusion.  What you
> probably need to do is turn off the SSL on that site if you don't want
> people going to it.
> 
> If you want to accomplish the redirect below without a warning, you'll
> have
> to install a valid certificate.
> 
> Dave
> 
> -----Original Message-----
> From: Chad Gray [mailto:[email protected]]
> Sent: Friday, October 02, 2009 1:43 PM
> To: cf-talk
> Subject: ssl
> 
> 
> I have some code in application.cfm that is supposed to re-direct the user
> to a non-ssl version of the page.
> 
> <!--- redirect to non-SSL --->
> <cfif CGI.HTTPS eq "on">
>       <cfif Len(CGI.QUERY_STRING)>
>               <cflocation
> url="http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#";
> addtoken="no">
>       <cfelse>
>               <cflocation
> url="http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#"; addtoken="no">
>       </cfif>
> </cfif>
> 
> 
> I get this error in Firefox when I try to use it:
> 
> Secure Connection Failed
> invalid security certificate.
> The certificate is not trusted because the issuer certificate is unknown.
> 
> (Error code: sec_error_unknown_issuer)
> 
>    * This could be a problem with the server's configuration, or it could
> be
> someone trying to impersonate the server.
> 
>    * If you have connected to this server successfully in the past, the
> error may be temporary, and you can try again later.
> 
> 
> Any ideas why this would happen?
> Thanks!
> Chad
> 
> 
> 
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326852
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to