Hi

I am trying to view the security certificate of a secured web page.
ex: https://somesite.com

I need to do this via a python script to collect some data from the certificate, like the CN, OU, Street etc values.

It can be done with win32com, but not sure about the objects that would fetch me this data.
I tried the MSDN links, but couldnt find the object tree that would take me to it.

Can anyone provide a sample code snippet or idea on how to go ahead with this?

Thanks

Hi All

Anybody got a solution for this? I am still searching for the answer.
I require this to automate a job, which we do on a daily basis for many servers. Collect the expiry date values & other stuff.

Thanks...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.