> ## 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

<span id="atoti.HttpsConfig" />

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

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).
</Note>

### Attributes

<h4 id="atoti.HttpsConfig.certificate">
  *certificate*
</h4>

The path to the certificate.

<h4 id="atoti.HttpsConfig.password">
  *password*
</h4>

The password to read the certificate.

<h4 id="atoti.HttpsConfig.domain">
  *domain*
</h4>

The domain certified by the certificate.

<h4 id="atoti.HttpsConfig.certificate_authority">
  *certificate\_authority*
</h4>

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.
