Public Repository

Last pushed: 2 months ago
Short Description
Image for running nginx web server with TLS certificate and private key stored in Fortanix SDKMS.
Full Description

This will run with a certificate and private key stored in SDKMS.
The provided docker.env file should be updated with the appropriate
private key and certificate labels (called descriptions in SDKMS),
as well as the necessary API key.

Customize a file called docker.env with the following contents:
FORTANIX_API_ENDPOINT=https://sdkms.fortanix.com
FORTANIX_PKCS11_LIBRARY=/usr/lib/x86_64-linux-gnu/pkcs11/fortanix-sdkms-pkcs11.so
FORTANIX_API_KEY=<insert your API key>
FORTANIX_PRIVATE_KEY_LABEL=<insert your key label>
FORTANIX_CERTIFICATE_LABEL=<insert your certificate label>

Run container
sudo docker run -d -p 8443:443 --env-file docker.env --rm sdkms-nginx

Go to website at https://localhost:8443

Docker Pull Command
Owner
fortanix

Comments (0)