> 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?

Typically, this would indicate a self-signed or otherwise
untrustworthy certificate, but that's clearly not the problem as
you've made clear in your followup email. When you get this error,
have you accepted the certificate so that you can examine its
properties? Do you only get the error in Firefox? If you comment out
the block in question in Application.cfm, do you not get the error?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figl

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:326853
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