USE HTTPS by Running the Container with a Certificate
If you need to run the container with a certificate, follow these steps to generate the certificate and configure the local machine:
Run the IronSecureDoc Container With a Certificate
Generate Certificate:
dotnet dev-certs https -ep %USERPROFILE%\.aspnet\https\ironsecuredoc.pfx -p <CREDENTIAL_PLACEHOLDER> dotnet dev-certs https --trust
Replace
<CREDENTIAL_PLACEHOLDER>
with a password.Run the Docker Container:
docker container run -d -p 8081:8081 -p 8080:8080 -e HTTP_PORTS=8080 -e HTTPS_PORTS=8081 -e IronSecureDoc_LicenseKey=<IRONSECUREDOC_LICENSE_KEY> -e ENVIRONMENT=Production -v %USERPROFILE%\.aspnet\https:/https:ro -e CERTIFICATE_PATH=%USERPROFILE%\.aspnet\https\ironsecuredoc.pfx -e CERTIFICATE_PASSWORD=<CERTIFICATE_PASSWORD> ironsoftwareofficial/ironsecuredoc:latest
Replace
<IRONSECUREDOC_LICENSE_KEY>
and<CERTIFICATE_PASSWORD>
with your actual IronSecureDoc license key and certificate password respectively.