Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit c4c0c74

Browse files
committed
Document the new SSL options
1 parent edb01f1 commit c4c0c74

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/reference/configuration.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,17 @@ database:
100100
password: password
101101
database: database
102102

103+
# Whether to use SSL to connect to the database
104+
ssl_mode: require # or disable, prefer, verify-ca, verify-full
105+
#ssl_ca: # PEM-encoded certificate
106+
ssl_ca_file: /path/to/ca.pem # Path to the root certificate file
107+
108+
# Client certificate to present to the server when SSL is enabled
109+
#ssl_certificate: # PEM-encoded certificate
110+
ssl_certificate_file: /path/to/cert.pem # Path to the certificate file
111+
#ssl_key: # PEM-encoded key
112+
ssl_key_file: /path/to/key.pem # Path to the key file
113+
103114
# Additional parameters for the connection pool
104115
min_connections: 0
105116
max_connections: 10

0 commit comments

Comments
 (0)