How to get Certificate (signed by - Common Name) of HTTPS website from the browser using Selenium python bindings
19 views
Skip to first unread message
py_ssl_cert
unread,
Sep 24, 2016, 9:48:07 PM9/24/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to webdriver
Once i am able to load a HTTPs page using python selenium webdriver, I have an added step for verfication ---- > check the "issued by" string of the server cert in the browser.
Andreas Tolfsen
unread,
Sep 25, 2016, 6:29:40 AM9/25/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to webd...@googlegroups.com, py_ssl_cert
This information isn’t exposed in the WebDriver API and it’s not
exposed to JavaScript either.
The only way I can think of is for your test to query the server
process (some HTTPDS like nginx allows RPC to do this) or to use other
tools that are more appropriate for the job, such as libcurl.