Skip to main content

Service identity verification for pyOpenSSL & cryptography.

Project description

Documentation Status CI status Test Coverage Code style: black

Use this package if:

  • you use pyOpenSSL and don’t want to be MITMed or
  • if you want to verify that a PyCA cryptography certificate is valid for a certain hostname or IP address.

service_identity aspires to give you all the tools you need for verifying whether a certificate is valid for the intended purposes.

In the simplest case, this means host name verification. However, service_identity implements RFC 6125 fully and plans to add other relevant RFCs too.

service_identity’s documentation lives at Read the Docs, the code on GitHub.

Release Information

18.1.0 (2018-12-05)


  • pyOpenSSL is optional now if you use service_identity.cryptography.* only.
  • Added support for iPAddress subjectAltNames. You can now verify whether a connection or a certificate is valid for an IP address using service_identity.pyopenssl.verify_ip_address() and service_identity.cryptography.verify_certificate_ip_address(). #12

Full changelog.


service_identity is written and maintained by Hynek Schlawack.

The development is kindly supported by Variomedia AG.

Other contributors can be found in GitHub’s overview.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for service_identity, version 18.1.0
Filename, size File type Python version Upload date Hashes
Filename, size service_identity-18.1.0-py2.py3-none-any.whl (11.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size service_identity-18.1.0.tar.gz (21.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page