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: docs/kb/ssl.md
+43-13Lines changed: 43 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,12 +102,14 @@ A file containing certificate authority (CA) certificates in PEM format. The fil
102
102
-----END CERTIFICATE-----
103
103
```
104
104
sequences. Text is allowed before, between, and after the certificates; it can be used, for example, for descriptions of the certificates.
105
+
The CA certificates are used to establish trust, by checking that a certificate presented to a client/server has been issued (directly or indirectly) by a known certificate authority.
105
106
106
107
Default value is `<OPENSSLDIR>/cacert.pem`
107
108
108
109
#### SSL_CA_CERT_PATH
109
110
110
-
A directory containing certificate authority (CA) certificates in PEM format.
111
+
A directory containing certificate authority (CA) certificates in PEM format.
112
+
The CA certificates are used to establish trust, by checking that a certificate presented to a client/server has been issued (directly or indirectly) by a known certificate authority.
111
113
112
114
Default value is `<OPENSSLDIR>`
113
115
@@ -179,44 +181,72 @@ Configured TLS settings for a kdb+ process can be viewed with [`(-26!)[]`](../ba
179
181
180
182
## Certificates
181
183
182
-
If you don’t have a certificate, you can create a self-signed certificate using the `openssl` program. An example script (`makeCerts.sh`) to do so follows; customize as necessary.
184
+
If you don’t have a certificate, you can create a self-signed certificate using the `openssl` program.
185
+
An example script (`makeCerts.sh`) to do so follows.
186
+
Customize as necessary.
183
187
184
188
```bash
185
189
mkdir $HOME/certs &&cd$HOME/certs
186
190
187
191
# create private key for CA (certificate authority)
192
+
# ca-private-key.pem will be used by the CA to sign all certificates, must be kept secret
188
193
openssl genrsa -out ca-private-key.pem 2048
189
-
# create X509 certificate for CA (certificate authority)
194
+
# create self-signed X509 certificate, ca-cert.pem, for CA (certificate authority)
# CSR contains the common name(s) you want your certificate to secure, information about your company, and your public key (taken from provided private key)
201
+
# server.csr is used by CA (certificate authority) to issue a certificate for the server
# CSR contains the common name(s) you want your certificate to secure, information about your company, and your public key (taken from provided private key)
211
+
# client.csr is used by CA (certificate authority) to issue a certificate for the client
0 commit comments