Skip to main content

.. image:: https://github.com/AmadeusITGroup/AutoSSL/actions/workflows/test.yaml/badge.svg?branch=master :target: https://github.com/AmadeusITGroup/AutoSSL/actions

.. image:: https://coveralls.io/repos/AmadeusITGroup/AutoSSL/badge.svg?branch=master :target: https://coveralls.io/r/AmadeusITGroup/AutoSSL?branch=master

.. image:: https://badge.fury.io/py/autossl.svg :target: https://badge.fury.io/py/autossl

.. image:: https://readthedocs.org/projects/autossl/badge?version=latest :target: https://autossl.readthedocs.io?badge=latest

.. image:: https://pepy.tech/badge/autossl :target: https://pepy.tech/badge/autossl

:AutoSSL: Python module to automate SSL certificates monitoring, renewal and deployment :Copyright: Copyright (c) 2019 Amadeus sas :License: MIT <https://github.com/AmadeusITGroup/AutoSSL/blob/master/LICENSE>_ :Documentation: https://autossl.readthedocs.io :Development: https://github.com/AmadeusITGroup/AutoSSL

What

autossl is a module for Python 2.7+/3.5+ that can be used to to automate SSL certificate monitoring, renewal and deployment.

This module can be customized with plugins mechanism to support any type of:

  • server: where the certificate is deployed, can be 1 or more server, potentially of different types
  • storage: where to store your artifacts (private key, public certificate, ...)
  • tracking mechanism: how to track renewal process (ticket creation)
  • renewal method: how to get a new certificate (local CA, ACME protocol, ....)

It's providing a command line interface with simple actions: check, renew, deploy. All configuration is provided thanks to blueprints in Yaml

It can then be run by any tool able to use a command line (cron, jenkins pipeline, ...) to manage all your certificates from a central place.

Installation

For a basic installation, just run

$ pip install autossl

to support optional features, you may need extra dependencies, for that install autossl with corresponding keyword:

$ pip install autossl[keyword]

See available keywords and associated extra dependencies in table below:

+------------+--------------------------+--------------------------------------+ | keyword | additional dependencies | extra features | +============+==========================+======================================+ | all | all packages below | all features below | +------------+--------------------------+--------------------------------------+ | acme | acme | renewal using ACME protocol | +------------+--------------------------+--------------------------------------+ | git | GitPython | artifacts storage in git repository | +------------+--------------------------+--------------------------------------+

Tests

tests require few more python packages. To install them, run:

$ pip install -r requirements_dev.txt

Clone the repository, then to execute the test suite with your current python version, run:

$ pytest -sv tests

Contributing

Bug Reports ^^^^^^^^^^^ Bug reports are hugely important! Before you raise one, though, please check through the GitHub issues <https://github.com/AmadeusITGroup/AutoSSL/issues>_, both open and closed, to confirm that the bug hasn't been reported before.

Feature Requests ^^^^^^^^^^^^^^^^ If you think a feature is missing and could be useful in this module, feel free to raise a feature request through the GitHub issues <https://github.com/AmadeusITGroup/AutoSSL/issues>_

Code Contributions ^^^^^^^^^^^^^^^^^^ When contributing code, please follow this project-agnostic contribution guide <http://contribution-guide.org/>_.

Release files for autossl 0.9.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autossl 0.9.9
File Size Uploaded
autossl-0.9.9.tar.gz 54.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autossl 0.9.9
File Interpreter ABI Platform
autossl-0.9.9-py3-none-any.whl Python 3 none any Details

Total release size: 122.4 kB

Release files / autossl-0.9.9.tar.gz

Download URL autossl-0.9.9.tar.gz
Size 54.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6eebdddbe0bc9f231436efd1e20803c638b725d2ff73847b9613e19a4da30c10
BLAKE2b-256 checksum
How to use checksums
c1021c6d35767ab4e5c6e28adb7ff505ec3995fd0a7b9982db1d3569f8d129c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / autossl-0.9.9-py3-none-any.whl

Download URL autossl-0.9.9-py3-none-any.whl
Size 68.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07be25da015f4912bcf0bb1d16b642528ed33b4183f4883006ff76fc4fd98efe
BLAKE2b-256 checksum
How to use checksums
fdaae29cc47c1d46d7788f80e51f8a3641668acb5e8648f1069be9b3d065e43e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.9.9 This release

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

3 release files

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page