Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Toolkit for testing if you actually verify TLS certificates

Project Description


[![Build Status](](
[![Coverage Status](](

jorji has a forged passp^H^H^H^H^Hcertificate. Will you catch it?

This contains the tools you need to produce a TLS server (by default,
an HTTPS server) with bogus certificates. This is useful to write
integration tests to verify that your application actually checks the
certificate provided by the server.

Using jorji

With Twisted_

If you're already using Twisted,

from jorji import make_cert, run

Without Twisted (a.k.a. with Twisted, secretly, anyway)

The recommended way to use jorji without Twisted is crochet_. It will
run the Twisted reactor off in a thread somewhere so you don't have to
worry about it.


I'd like to thank Rackspace_ for giving me the opportunity to produce
open-source software on company time.

Contributing to jorji

Please send pull requests to `lvh/jorji`_ on Github.

.. _Twisted:
.. _crochet:
.. _Rackspace:
.. _`lvh/jorji`:

Release History

This version
History Node

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting