Skip to content
Permalink
Browse files

docs: Add DEM format details for `sslkey` (#1376)

Add DEM format details and instructions on how to convert from PEM to DER format as discussed in issue #1364
  • Loading branch information...
Mrk-Nguyen authored and davecramer committed Dec 16, 2018
1 parent c0f6b9b commit 10945e34a4df2e51566c72fd64e0407c3f358477
Showing with 5 additions and 1 deletion.
  1. +5 −1 docs/documentation/head/connect.md
@@ -124,7 +124,11 @@ Connection conn = DriverManager.getConnection(url);
* **sslkey** = String

Provide the full path for the key file. Defaults to /defaultdir/postgresql.pk8
Provide the full path for the key file. Defaults to /defaultdir/postgresql.pk8.

*Note:* The key file **must** be in [DER format](https://wiki.openssl.org/index.php/DER). A PEM key can be converted to DER format using the openssl command:

`openssl pkcs8 -topk8 -inform PEM -in my.key -outform DER -out my.key.der`

* **sslrootcert** = String

0 comments on commit 10945e3

Please sign in to comment.
You can’t perform that action at this time.