snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Optional: SSL Database Settings

Open brownac25 opened this issue 8 years ago • 3 comments

Hi,

I am just wondering if there is a guide anywhere to explain how the optional SSL Databse settings should be formatted and the available options.

E.G. DB_SSL=true DB_SSL_KEY_PATH=/path/to/key DB_SSL_CERT_PATH=/path/to/cert DB_SSL_CA_PATH=/path/to/ca DB_SSL_CIPHER=RSA-AES

vs

DB_SSL=true DB_SSL_KEY_PATH="/path/to/key" DB_SSL_CERT_PATH="/path/to/cert" DB_SSL_CA_PATH="/path/to/ca" DB_SSL_CIPHER="RSA-AES"

brownac25 avatar Jan 24 '18 20:01 brownac25

Generally speaking, if you see any characters that could be parsed funny in the .env (like slashes, etc), enclose the ext in quotes. I usually do single quotes, but it shouldn't matter.

DB_SSL=true
DB_SSL_KEY_PATH='/path/to/key'
DB_SSL_CERT_PATH="'path/to/cert'
DB_SSL_CA_PATH='/path/to/ca'
DB_SSL_CIPHER='RSA-AES'

snipe avatar Jan 24 '18 20:01 snipe

Awsome! Thank you for your quick response!

brownac25 avatar Jan 24 '18 20:01 brownac25

My pleasure!

snipe avatar Jan 24 '18 20:01 snipe