0

What is the python way for getting complete ssl ca certificate chain from the server. In other words, is Pythons(2.7) ssl_wrapper has any method that can do

openssl s_client **-showcerts** connect xxx.xxx.xxx.xxx:443

I want to be able to achive showcerts from python side not using subproc

There is a way to do the same in Python 2.7.9+ with SSLContext but trying to achive this with Python < 2.7.9

SrujanSreepathi
  • 91
  • 1
  • 1
  • 6

0 Answers0