atoti.config.https module

class atoti.config.https.HttpsConfig(certificate, password)

The PKCS 12 keystore configuration to enable HTTPS on the application.

Note

This requires the atoti-plus plugin.

Note

PEM or DER certificates can be converted to PKCS 12 with OpenSSL.

Example

>>> config = {"https": {"certificate": "../cert.p12", "password": "secret"}}
certificate: Union[pathlib.Path, str]

The path to the certificate.

password: str

The password to read the certificate.