Author christian.heimes
Recipients Lee Eric, christian.heimes
Date 2021-04-17.18:58:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618685936.38.0.871249446558.issue35888@roundup.psfhosted.org>
In-reply-to
Content
You are correct. The ssl.get_server_certificate() helper function performs a full handshake and then returns the certificate. It's technically possible to get the cert chain from the ServerHello message, but Python does not provide an API for that.

I don't know any Python package for the task either.
History
Date User Action Args
2021-04-17 18:58:56christian.heimessetrecipients: + christian.heimes, Lee Eric
2021-04-17 18:58:56christian.heimessetmessageid: <1618685936.38.0.871249446558.issue35888@roundup.psfhosted.org>
2021-04-17 18:58:56christian.heimeslinkissue35888 messages
2021-04-17 18:58:56christian.heimescreate