Install with Self-Signed SSL Certificates
This configuration is a superset of the configuration using HTTP with a configuration file that uses SSL with self-signed digital certificates.
Self-signed digital certificates are free and can be appropriate for internal deployments and air-gapped systems.
The secretsSetup.sh script is used in this tutorial with
OpenSSL to create the public and private keys, self-signed digital certificate, API Key, and
the Podman secrets. For information about the secretsSetup.sh script and
where to download the file, see Configure the Private AI Services Container.
TLS 1.3 will be used for SSL for the container's listener. This means that any HTTPS clients also must support TLS 1.3, for example SSL libraries like OpenSSL 1.1.1k+ or equivalent.
In this example, your configuration file is
/home/opc/config/config.json.
When the secretsSetup.sh script is run, the following files are created in
the $SECRETS_DIR directory:
| Filename | Description |
|---|---|
| api-key | A random string used for authentication. The API Key is a shared secret that is needed by the clients. |
| cert.pem | The self-signed digital certificate |
| key.pem | The generated private key |
| key.pub | The generated public key |
| keystore | A PKCS12 keystore used to store the certificate password |
These files are copied to the $PRIVATE_DIR/secrets directory to enable the
container to run with least privilege.
Parent topic: Configure the Private AI Services Container