Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (83)
EC Keys (2463)
Firefox (30)
General (10)
Google Chrome (25)
Intermediate CA (152)
Java VM (29)
JDK Keytool (28)
Microsoft CertUtil (29)
Microsoft Edge (9)
Mozilla CertUtil (21)
OpenSSL (236)
Other (7)
Portecle (38)
Publishers (6622)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5335)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
"keytool -importcert" Command Examples - Save Certificate to Keystore
How to use the "keytool -importcert" command? I have a certificate downloaded from a Web site and want to save it in a keystore file.
✍: FYIcenter.com
Here is an example of using "keytool -exportcert" command to save the www.facebook.com certifcate into the default keystore file:
C:\Users\fyicenter> keytool -importcert -storepass FYIcenter -alias facebook_cert -file facebook_cert.pem -noprompt Certificate was added to keystore C:\Users\fyicenter> keytool -list -storepass FYIcenter Keystore type: JKS Keystore provider: SUN Your keystore contains 3 entries facebook_cert, Jul 14, 2012, trustedCertEntry, Certificate fingerprint (SHA1): 9C:53:B1:A4:16:F9:58:79:1B:DA:D0:28:A9:FA:5D:65:4C:5F:81:52 2ndkey, Jul 14, 2012, PrivateKeyEntry, Certificate fingerprint (SHA1): 8C:35:4B:1A:25:02:74:32:A8:2D:E4:01:E4:F3:93:13:F5:EE:C0:DA mykey, Jul 13, 2012, PrivateKeyEntry, Certificate fingerprint (SHA1): FA:34:B5:C0:91:37:81:AD:E3:C6:3E:2D:0B:D7:3C:24:30:E0:42:29
What the "keytool -importcert" command shown above did for you:
⇒ Managing Certificate Requests with Java Keytool
⇐ Java "keytool -importcert" Command Options
2012-07-20, 23196🔥, 0💬
Popular Posts:
Certificate summary - Owner: thawte Primary Root CA, "(c) 2006 thawte, Inc. - For authorized use onl...
Certificate Summary: Subject: Network Solutions OV Server CA 2 Issuer: USERTrust RSA Certification A...
Certificate Summary: Subject: signin.ebay.com Issuer: VeriSign Class 3 Extended Validation SSL CA Ex...
Certificate summary - Owner: *.sites.myregisteredsite .com,Domain Control Validated - RapidSSL(R), S...
Certificate Summary: Subject: Sonera Class2 CA Issuer: Sonera Class2 CA Expiration: 2021-04-06 07:29...