Re: [Twisted-Python] twisted.web HTTPS client certificate

2021-07-17 Thread Glyph
> On Jul 14, 2021, at 7:05 AM, Barry Scott wrote: > > On Tuesday, 13 July 2021 22:48:18 BST Glyph wrote: >> >>> On Jul 13, 2021, at 2:09 AM, Barry Scott wrote: >>> >>> On Monday, 12 July 2021 09:27:19 BST Glyph wrote: FWIW I would avoid calling the pyOpenSSL APIs for this, since hopeful

Re: [Twisted-Python] twisted.web HTTPS client certificate

2021-07-14 Thread Barry Scott
On Tuesday, 13 July 2021 22:48:18 BST Glyph wrote: > > > On Jul 13, 2021, at 2:09 AM, Barry Scott wrote: > > > > On Monday, 12 July 2021 09:27:19 BST Glyph wrote: > >> FWIW I would avoid calling the pyOpenSSL APIs for this, since hopefully > >> we'll manage to move away from OpenSSL and at leas

Re: [Twisted-Python] twisted.web HTTPS client certificate

2021-07-13 Thread Glyph
> On Jul 13, 2021, at 2:09 AM, Barry Scott wrote: > > On Monday, 12 July 2021 09:27:19 BST Glyph wrote: >> FWIW I would avoid calling the pyOpenSSL APIs for this, since hopefully >> we'll manage to move away from OpenSSL and at least somewhat abstract away >> the transition. > > Are you thin

Re: [Twisted-Python] twisted.web HTTPS client certificate

2021-07-13 Thread Barry Scott
On Monday, 12 July 2021 09:27:19 BST Glyph wrote: > FWIW I would avoid calling the pyOpenSSL APIs for this, since hopefully we'll > manage to move away from OpenSSL and at least somewhat abstract away the > transition. Are you thinking to use the Windows and macOS provided crypto API and only u

Re: [Twisted-Python] twisted.web HTTPS client certificate

2021-07-12 Thread Glyph
> On Jul 12, 2021, at 1:05 AM, Adi Roiban wrote: > > On Mon, 12 Jul 2021 at 08:09, Ian Haywood > wrote: > 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 p

Re: [Twisted-Python] twisted.web HTTPS client certificate

2021-07-12 Thread Adi Roiban
On Mon, 12 Jul 2021 at 08:09, Ian Haywood wrote: > 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

Re: [Twisted-Python] twisted.web HTTPS client certificate

2021-07-12 Thread Glyph
> On Jul 12, 2021, at 12:07 AM, Ian Haywood wrote: > > 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 probl

[Twisted-Python] twisted.web HTTPS client certificate

2021-07-12 Thread Ian Haywood
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 A