Skip to content

Instantly share code, notes, and snippets.

@blankhang
blankhang / import-x509-pk8-to-jks-keystore.md
Created November 12, 2024 02:45 — forked from berkedel/import-x509-pk8-to-jks-keystore.md
How to import x509.pem pk8 file into jks keystore

How to import x509.pem pk8 file into jks keystore

Prerequiste:

Generate a file platform.priv.pem from you pk8 file.

openssl pkcs8 -in platform.pk8 -inform DER -outform PEM -out platform.priv.pem -nocrypt