[Twisted-Python] twisted.web HTTPS client certificate

Ian Haywood ian at haywood.id.au
Mon Jul 12 01:07:30 MDT 2021


I am trying to work out how to retrieve on the server a X.509 
certificate presented by the HTTPS client.  This code tries to tell me 
the transport has no peer certificate.

same error when I use wget as a client so I think my problem is in the 
server code. I'm using self-signed certificates

Any clues as to what I'm doing wrong?

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.py
Type: text/x-python
Size: 634 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20210712/f420c67d/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_server.py
Type: text/x-python
Size: 1956 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20210712/f420c67d/attachment-0001.py>


More information about the Twisted-Python mailing list