-
-
Notifications
You must be signed in to change notification settings - Fork 252
Custom SSL Certificate
Koushik Dutta edited this page Jan 27, 2022
·
4 revisions
To use a custom SSL Certificate, do the following:
- Set an environment variable
SCRYPTED_HTTPS_OPTIONS_FILE
that points to a JSON config file.
- If using docker, remember to mount the config file as a volume.
- The JSON config file contains the options used during creation of the node https server.
- The config
key
andcert
options are PEM encoded strings.
A sample can be found here: https://github.com/koush/scrypted/blob/main/server/test/test-cert.json
Scrypted Docs have moved. Please visit https://docs.scrypted.app.