Skip to content

Commit

Permalink
0003270: Document how to import a pkcs12 formatted ssl cert into
Browse files Browse the repository at this point in the history
symmetricds
  • Loading branch information
chenson42 committed Oct 4, 2017
1 parent 13c969b commit ec62281
Show file tree
Hide file tree
Showing 102 changed files with 12 additions and 10,156 deletions.
12 changes: 12 additions & 0 deletions symmetric-assemble/src/asciidoc/advanced-topics.ad
Expand Up @@ -296,6 +296,18 @@ keytool -keystore cacerts -import -alias sym -file sym.cer
* Copy the cacerts file that is generated by this process to
the `security` directory of each client's SymmetricDS installation.

==== Importing Signed Certificates from PKCS 12 files

You would use the following command to import a p12 certificate into the SymmetricDS keystore:

[source, cli]
----
keytool -delete -alias sym -noprompt -keystore keystore -storetype jceks -storepass changeit

keytool -importkeystore -deststorepass changeit -destkeypass changeit -destkeystore keystore -storetype jceks -srckeystore {yourcert.p12} -srcstoretype PKCS12 -srcstorepass {pkcs12 password} -srcalias {pkcs12 alias} -destalias sym
----


==== Changing Keystore Password

The keystore and each key entry is protected with a password that defaults to "changeit". To change the password, use the following steps:
Expand Down
58 changes: 0 additions & 58 deletions symmetric-assemble/src/assembly/assembly-android.xml

This file was deleted.

63 changes: 0 additions & 63 deletions symmetric-assemble/src/assembly/assembly-client.xml

This file was deleted.

38 changes: 0 additions & 38 deletions symmetric-assemble/src/assembly/assembly-docbook.xml

This file was deleted.

151 changes: 0 additions & 151 deletions symmetric-assemble/src/assembly/assembly-server.xml

This file was deleted.

0 comments on commit ec62281

Please sign in to comment.