Skip to main content

Utility to create and sign CAs and certificates

Project description

A simple python tool for creating certificate authorities and certificates on the fly.


Command line

Creating a certificate authority:

Certipy defaults to writing certs and store.json into a folder called out in your current directory.

$ certipy foo
No store file at out/store.json. Creating a new one.
KeyCertPair(name='foo', dir_name='/tmp/out/foo', key_file='/tmp/out/foo/foo.key', cert_file='/tmp/out/foo/foo.crt', ca_file='/tmp/out/foo/foo.crt')

Creating and signing a key cert pair:

$ certipy bar --ca-name foo
KeyCertPair(name='bar', dir_name='/tmp/out/bar', key_file='/tmp/out/bar/bar.key', cert_file='/tmp/out/bar/bar.crt', ca_file='/tmp/out/foo/foo.crt')


Creating a certificate authority:

from certipy import Certipy

store = Certipy(store_dir='/tmp')
cert_info = store.get('foo') # KeyCertPair

Creating and signing a key cert pair:

from certipy import Certipy

store = Certipy(store_dir='/tmp')
store.create_signed_pair('bar', 'foo')
cert_info = store.get('bar') # KeyCertPair


Certipy is released under BSD license. For more details see the LICENSE file.


Project details

Download files

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

Source Distribution

certipy-0.0.1.tar.gz (8.8 kB view hashes)

Uploaded source

Built Distribution

certipy-0.0.1-py3-none-any.whl (14.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page