Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Copy the client certificate to the Server machine and import it in Server's TrusStore
B:\JMX\Security>keytool -importcert -file client.cer -keystore servertruststore -storepass servertrustpass
Owner: CN=JConsole, OU=DevOps, O=CleanTutorials, L=Delhi, ST=Delhi, C=IN
Issuer: CN=JConsole, OU=DevOps, O=CleanTutorials, L=Delhi, ST=Delhi, C=IN
Serial number: 427e283a
Valid from: Tue Sep 05 05:58:57 IST 2017 until: Sun Mar 04 05:58:57 IST 2018
Certificate fingerprints:
MD5: F0:D9:B2:55:F8:8C:00:88:E5:2D:2C:DD:89:55:79:38
SHA1: 8D:3E:10:A0:E8:AE:F8:0D:89:CE:6D:2F:78:9B:A6:79:B1:5E:94:F4
SHA256: 4A:1B:DB:C6:4D:45:46:A1:C5:4E:4F:FD:2C:40:5B:AF:4B:8B:69:47:63:FF:D0:2F:20:06:FB:A0:70:7E:51:E3
Signature algorithm name: SHA1withDSA
Version: 3
Extensions:
#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 0F 54 27 49 A3 FD B0 FB EE F9 C4 23 97 3A A1 66 .T'I.......#.:.f
0010: 8B 1B 96 0B ....
]
]
Trust this certificate? [no]: yes
Certificate was added to keystore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment