Skip to content

Update single.sh#339

Open
markdesilva wants to merge 1 commit into
immauss:masterfrom
markdesilva:markdesilva-add-ssl-cert-location
Open

Update single.sh#339
markdesilva wants to merge 1 commit into
immauss:masterfrom
markdesilva:markdesilva-add-ssl-cert-location

Conversation

@markdesilva

Copy link
Copy Markdown

Added CERTIFICATE and CERTIFICATE_KEY so users can add location for SSL certs and specified SSL certs on on docker run and

eg:

docker run --detach --restart always --publish 9392:9392 --volume /dockerfiles/sslcerts:/data/sslcerts --env HTTPS="true" --env CERTIFICATE="/data/sslcerts/fullchain.pem" --env CERTIFICATE_KEY="/data/sslcerts/privkey.pem" --name openvas immauss/openvas

This will allow users to specify a location on the docker host for the ssl certs and mount a volume to the container where the certs are located and enable HTTPS when the single.sh starts.

Added CERTIFICATE and CERTIFICATE_KEY so users can add location for SSL certs on docker run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant