ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 56 - MCD - Level 2 discussion

Report
Export

Which command is used to convert a JKS keystore to PKCS12?

A.
Keytool-importkeystore --srckeystore keystore p12-srcstoretype PKCS12 --destkeystore keystore.jks --deststoretype JKS
Answers
A.
Keytool-importkeystore --srckeystore keystore p12-srcstoretype PKCS12 --destkeystore keystore.jks --deststoretype JKS
B.
Keytool-importkeystore --srckeystore keystore p12-srcstoretype JKS --destkeystore keystore.p12 --deststoretype PKCS12
Answers
B.
Keytool-importkeystore --srckeystore keystore p12-srcstoretype JKS --destkeystore keystore.p12 --deststoretype PKCS12
C.
Keytool-importkeystore --srckeystore keystore jks-srcstoretype JKS --destkeystore keystore.p13 --deststoretype PKCS12
Answers
C.
Keytool-importkeystore --srckeystore keystore jks-srcstoretype JKS --destkeystore keystore.p13 --deststoretype PKCS12
D.
Keytool-importkeystore --srckeystore keystore jks-srcstoretype PKCS12 --destkeystore keystore.p12 --deststoretype JKS
Answers
D.
Keytool-importkeystore --srckeystore keystore jks-srcstoretype PKCS12 --destkeystore keystore.p12 --deststoretype JKS
Suggested answer: B

Explanation:

To convert a JKS keystore to PKCS12, the developer needs to use the keytool-importkeystore command with the following options: -srckeystore keystore.jks -srcstoretype JKS -destkeystore keystore.p12 -deststoretype PKCS12. This command imports all entries from a source JKS keystore (keystore.jks) into a destination PKCS12 keystore (keystore.p12).

Reference: https://docs.oracle.com/en/java/javase/11/tools/keytool.html#GUID-5990A2E4-78E3-47B7-AE75-6D1826259549

asked 18/09/2024
marcio Gomes lobo
26 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first