Created
May 19, 2020 06:09
-
-
Save cleantutorials/5d3b565f4732e828e88d699c3ff7baa7 to your computer and use it in GitHub Desktop.
Copy the server certificate to the Client machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
B:\JMX Client\Security>keytool -importcert -file server.cer -keystore clienttruststore -storepass clienttrustpass | |
Owner: CN=JMX Agent, OU=DevOps, O=CleanTutorials, L=Delhi, ST=Delhi, C=IN | |
Issuer: CN=JMX Agent, OU=DevOps, O=CleanTutorials, L=Delhi, ST=Delhi, C=IN | |
Serial number: 2eef3295 | |
Valid from: Tue Sep 05 05:24:54 IST 2017 until: Sun Mar 04 05:24:54 IST 2018 | |
Certificate fingerprints: | |
MD5: AF:B2:FC:3D:CF:B0:CB:74:27:80:C3:2B:93:FD:54:EE | |
SHA1: 1B:54:E7:CB:9E:A4:FD:E3:80:91:7B:BA:15:7F:96:BE:42:B8:1D:DE | |
SHA256: C7:38:37:FD:56:7F:DB:5F:79:72:22:5C:38:30:10:5B:BC:A3:E3:62:FC:BA:E3:4C:F0:0D:2C:D8:DD:8E:D2:17 | |
Signature algorithm name: SHA1withDSA | |
Version: 3 | |
Extensions: | |
#1: ObjectId: 2.5.29.14 Criticality=false | |
SubjectKeyIdentifier [ | |
KeyIdentifier [ | |
0000: 53 DE 89 0D EA CC 08 FA AE 36 4F A1 E1 C3 59 3F S........6O...Y? | |
0010: 7E 68 76 4F .hvO | |
] | |
] | |
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