SSL Configuration through ENV file¶
ENV File SSL Configuration Settings¶
Warning
VECTR_CERTPROFILE
env variable must be set to "usercert" to use other SSL Configuration environment variables
VECTR's .env file can be modified to include an SSL public key certificate and a private key. Existing key restrictions still apply. Both public and private key must be in PEM format and may not be encrypted.
An additional requirement to public and private key certs included in the ENV file is they must have all newline characters replaced with \n. VECTR will not be able to load without replacing newling characters.
VECTR_CERTPROFILE - should be set to usercert
VECTR_SSL_CRT - may be set with the public key certificate
VECTR_SSL_KEY - may be set with a private key
VECTR_SSL_CRT=CERT-WITH-ESCAPED-NEWLINES\n-GOES-HERE
VECTR_SSL_KEY=PRIVATE-KEY-WITH-ESCAPED-NEWLINES\n-GOES-HERE