Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54451
| X-Received | by 10.224.93.19 with SMTP id t19mr501534qam.3.1379628731026; Thu, 19 Sep 2013 15:12:11 -0700 (PDT) |
|---|---|
| X-Received | by 10.50.83.6 with SMTP id m6mr41347igy.1.1379628730955; Thu, 19 Sep 2013 15:12:10 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!d5no544913qap.0!news-out.google.com!gv3ni658qab.0!nntp.google.com!d5no544909qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Thu, 19 Sep 2013 15:12:10 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=205.166.76.15; posting-account=ImftugoAAADCjV1gddxbbhm9QP3gR2SB |
| NNTP-Posting-Host | 205.166.76.15 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <87a4bfdc-bfe9-413e-b735-a17d8f48db7e@googlegroups.com> (permalink) |
| Subject | python 2.7 SSL to fetch servers notAfter date |
| From | Bryan Irvine <sparctacus@gmail.com> |
| Injection-Date | Thu, 19 Sep 2013 22:12:10 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Xref | csiph.com comp.lang.python:54451 |
Show key headers only | View raw
I'm trying to connect to an SSL application using client certs to grab the remote certs notAfter time. When I connect using 'openssl s_client' and pass my client cert/key I can see it in the cert chain, but when I attempt to use get_peer_certificate() in python (2.7) I only get a blank dict and cannot pull the notAfter date. I think this means that Python is unable to validate the cert, but I'm not sure the next steps to fix it. -B
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
python 2.7 SSL to fetch servers notAfter date Bryan Irvine <sparctacus@gmail.com> - 2013-09-19 15:12 -0700
csiph-web