Tuesday, June 26, 2012

[web-design] Detecting SSL Certificate in PHP

 

Believe it or not in all these years, I have never had a need to mess with SSL Certificates, so forgive me if this seems like a dumb question.

I am trying to detect of a certificate actually exists. I am using php. I can access a page on my clients site using both http and https. But I noticed that when I accessed it in Internet Explorer, the "padlock" didn't come on indicating that it was an actual secured page.

If I use echo $_SERVER['HTTPS']; it does return as "on".

So, how can I tell if the page really is secure or not? Do I need to do more than just access the page with https? And is there a way to even to tell what CA?

Thanks in advance,
Soren

__._,_.___
Recent Activity:
---------------------------------------------------------------
web-design@yahoogroups.com is sponsored, owned, and founded by Technogypsie Designs (formerly Wandering Leaf Designs)
~etching your presence on the web  
leafworks@yahoo.com  

To unsubscribe or change your settings:
Please go to http://www.yahoogroups.com
- login, - choose group to modify, - change to unsubscribe,
web only, digest, or single post mode
By email: send a email from your email address receiving this
post to web-design-unsubscribe@yahoogroups.com
.

__,_._,___

0 comments:

Post a Comment