> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HttpsConfig

> atoti.HttpsConfig(\
>
>     \*,\
>
>     *certificate*: [Path](https://docs.python.org/3/library/pathlib.html#pathlib.Path),\
>
>     *password*: [str](https://docs.python.org/3/builtins/stdtypes.html#str),\
>
>     *domain*: [str](https://docs.python.org/3/builtins/stdtypes.html#str) = `'localhost'`,\
>
>     *certificate\_authority*: [Path](https://docs.python.org/3/library/pathlib.html#pathlib.Path) | [None](https://docs.python.org/3/builtins/constants.html#None) = `None`,\
>
> )

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

> [!NOTE]
>
> PEM or DER certificates can be [converted to PKCS 12 with OpenSSL](https://stackoverflow.com/questions/56241667/convert-certificate-in-der-or-pem-to-pkcs12/56244685#56244685).

### Attributes

#### *certificate*

The path to the certificate.

#### *password*

The password to read the certificate.

#### *domain*

The domain certified by the certificate.

#### *certificate\_authority*

Path to the custom certificate authority to use to verify the HTTPS connection.

Required when *certificate* is not signed by some trusted public certificate authority.
