Summary
git Use ID
Gimmecert is a simple CLI tool for quickly issuing X.509 server and client certificates using locally-generated CA hierarchy with minimal hassle.
Download as zip
branko d52b62b9a9db
4 years ago
branko de1cc2505a56
4 years ago
branko 52d85e47faa0
4 years ago
branko a08bc91f2b7d
4 years ago
branko 0ee05781e722
4 years ago
branko 44a6d86f1ba5
4 years ago
branko e85f90d9435e
4 years ago
branko 481adde2a48a
4 years ago
branko ed38fdc9be63
4 years ago
branko 13380988dc27
4 years ago

About Gimmecert

Gimmecert is a simple CLI tool for quickly issuing X.509 server and client certificates using locally-generated CA hierarchy with minimal hassle.

The tool is useful for issuing certificates in:

  • Local environment, when trying out a piece of new software that depends on use of certificates.
  • Development environment, when it is necessary to issue certificates either for purpose of integration with other systems, or for ability to develop new feature that involves use of certificates.
  • Testing/CI/CD environment, when it is necessary to deploy/configure tests to use certificates in order to ensure the tests are run properly and in full.

At time of this writing, Gimmecert is compatible with the following Python versions:

  • Python 3.8
  • Python 3.9
  • Python 3.10
  • Python 3.11
  • Python 3.12

Why was this tool created?

The tool was created to remove the pain of setting-up a CA hierarchy, and then using this hierarchy to issue a couple of test certificates.

While there are existing tools that can be used to this end (in particular the OpenSSL's CLI and GnuTLS' <tt class="docutils literal">certtool</tt>), the process of using them is tedious, slow, and error-prone.

There are some more long-lived solutions out there, in form of full-blown CAs, but those can be both an overkill and resource hog when all a person needs is a couple of certificates that can be thrown away.

Features

Gimmecert provides the following features:

  • It is very easy to use. Commands are intuitive, and require minimal input from the user.
  • Initialisation of CA hierarchy for issuing certificates. CA hierarchy depth can be specified, letting you easily simulate your production environment.
  • Issuance of TLS server certificates, with any number of DNS subject alternative names.
  • Issuance of TLS client certificates.
  • All generated artifacts stored within a single sub-directory (<tt class="docutils literal">.gimmecert</tt>), relative to directory where command is invoked. This allows you to easily issue per-project testing certificates.

Support

In case of problems with the tool, please do not hesitate to contact the author at gimmecert (at) majic.rs. Known issues and planned features are tracked on website:

The tool is hosted on author's own server, alongside a mirror on Github:

Documentation is available on:

License

Gimmecert code is licensed under the terms of GPLv3, or (at your option) any later version. You should have received the full copy of the GPLv3 license in the local file LICENSE-GPLv3, or you may read the full text of the license at:

Gimmecert documentation is licensed under the terms of CC-BY-SA 3.0 Unported license. You should have received the full copy of the CC-BY-SA 3.0 Unported in the local file LICENSE-CC-BY-SA-3.0-Unported, or you may read the full text of the license at: