Capturing Server TLS Certificates #2089
|
Is it possible to get the server TLS certificate for any given |
Answered by
lovelydinosaur
Feb 21, 2022
Replies: 1 comment 1 reply
|
Great question yup. We need some docs around this. Take a look at The low-level |
1 reply
Answer selected by
aaronst
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great question yup. We need some docs around this.
Take a look at
response.extensions['network_stream']. This exposes aget_extra_info(), which includes SSL info in some contexts.The low-level
httpcorepackage has some docs about this https://www.encode.io/httpcore/extensions/#network_stream which are also valid tohttpxsince the extensions are passed through.