Ottr ACME Client Python Wrapper
Project description
Ottr ACME Client
otter-acme
is a Python wrapper around acme.sh
that handles the certificate
signing process for Certificate Authorities that support the ACME protocol. This
package is utilized when building a container on top of the Airbnb Ottr Core
Platform.
import acme
# Query Subject Alternative Names
subject_alternative_names = acme.query_subject_alternative_names(hostname=hostname, table=table)
# ACME Client
le_client = acme.LetsEncrypt(hostname=hostname, subdelegate=dns,
subject_alternative_names=subject_alternative_names, region=region_name)
# Local Development
le_client.acme_local(csr={csr_path})
# Container Development
le_client.acme_development(csr={csr_path})
# Container Production
le_client.acme_production(csr={csr_path})
# Query Certificate from Device
expiration = acme.query_certificate_expiration(hostname=hostname)
# Update Expiration
acme.update_certificate_expiration(expiration)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
test-acme-abnb-0.0.6.tar.gz
(9.5 kB
view details)
Built Distribution
File details
Details for the file test-acme-abnb-0.0.6.tar.gz
.
File metadata
- Download URL: test-acme-abnb-0.0.6.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9096fb94d4d7eeb27a4c560c82a6f8c9bb2ef07ec6320161485a2eadd86263c6 |
|
MD5 | b1302193de6b99c4fee0bcd3b7394c43 |
|
BLAKE2b-256 | a05ab13737c0982d0eef3a6687cee6790f346b48da5bb2e313719d191023fe57 |
File details
Details for the file test_acme_abnb-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: test_acme_abnb-0.0.6-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a0974d132476aefda374c3da49f6bcd619d8c401bb8b1a28bf442711eb3dbe2 |
|
MD5 | e8f9cb9d3b088b6524d66c3d874eaf26 |
|
BLAKE2b-256 | 90289e9f7029f87c49a98fd6ceac0c44a71f786be888ce82dcdf0d0c5bdde1b1 |