You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-13
Original file line number
Diff line number
Diff line change
@@ -56,21 +56,12 @@ To set up ssl connection it's necessary to set up `postgresql_ssl_enable` variab
56
56
postgresql_ssl_enable: true
57
57
```
58
58
### postgresql_cert_name
59
+
In case you want to use own key and certificate. Use `postgresql_cert_name` variable. It's necessary to have both files in the same directory and with the same name with suffixes .crt and .key
60
+
59
61
To specify certificate name use `postgresql_cert_name` variable.
60
-
You can copy your certificate to `/etc/pki/tls/certs/server.crt` and key to `/etc/pki/tls/private/server.key` or
61
-
you can also use certificate system role. For more detail see [`examples/`](examples).
62
-
```yaml
63
-
postgresql_cert_name: server
64
-
```
65
-
### postgresql_key_path
66
-
Optionaly you can specify path to server key using `postgresql_key_path` variable. The default value is
62
+
For example your crt file is located in `/etc/certs/server.crt` and key in `/etc/certs/server.key`. So `postgresql_cert_name` value should be
67
63
```yaml
68
-
postgresql_key_path: /etc/pki/tls/private
69
-
```
70
-
### postgresql_cert_path
71
-
Optionaly you can specify path to server cert using `postgresql_cert_path` variable. The default value is
72
-
```ymal
73
-
postgresql_cert_path: "/etc/pki/tls/certs"
64
+
postgresql_cert_name: /etc/certs/server
74
65
```
75
66
### postgresql_certificates
76
67
This is a `list` of `dict` in the same format as used
0 commit comments