Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 586 Bytes

README.md

File metadata and controls

20 lines (19 loc) · 586 Bytes
openssl pkcs12 -export \
        -name pks-master-gateway \
        -in $(pwd)/src/test/resources/kube.crt  \
        -inkey $(pwd)/src/test/resources/kube.key \
        -out /tmp/keystore.p12 \
        -password pass:foobar

keytool -importkeystore \
        -destkeystore /tmp/keystore.jks \
        -srckeystore /tmp/keystore.p12 \
        -deststoretype pkcs12 \
        -srcstoretype pkcs12 \
        -alias pks-master-gateway \
        -deststorepass changeme \
        -destkeypass changeme \
        -srcstorepass foobar \
        -srckeypass foobar \
        -noprompt