|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/lib64/python2.4/site-packages/M2Crypto/SSL/ |
Upload File : |
mò
låìPc @ s» d Z d k l Z l Z l Z d k Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d
„ ƒ YZ
d f d „ ƒ YZ e d
j o d k
Z
e
i ƒ n d S( s{
SSL peer certificate checking routines
Copyright (c) 2004-2007 Open Source Applications Foundation.
All rights reserved.
( s utils EVPs m2Nt SSLVerificationErrorc B s t Z RS( N( t __name__t
__module__( ( ( t: /usr/lib64/python2.4/site-packages/M2Crypto/SSL/Checker.pyR s t
NoCertificatec B s t Z RS( N( R R ( ( ( R R s t WrongCertificatec B s t Z RS( N( R R ( ( ( R R s t WrongHostc B s t Z d d „ Z d „ Z RS( Nt
commonNamec C sI | d j o t d ƒ ‚ n t i | ƒ | | _ | | _ | | _ d S( sz
This exception will be raised if the certificate returned by the
peer was issued for a different host than we tried to connect to.
This could be due to a server misconfiguration or an active attack.
@param expectedHost: The name of the host we expected to find in the
certificate.
@param actualHost: The name of the host we actually found in the
certificate.
@param fieldName: The field name where we noticed the error. This
should be either 'commonName' or 'subjectAltName'.
R t subjectAltNames@ Unknown fieldName, should be either commonName or subjectAltNameN( s
commonNames subjectAltName( t fieldNamet
ValueErrorR t __init__t selft expectedHostt
actualHost( R R
R R ( ( R R s
c C s d | i | i | i f S( Ns<