HTTPS certificato firmato

Per creare un keystore valido per il TSL usando un certificato firmato creare un keystore PKCS12 con con il certificato e poi convertirlo in un keystore JKS con i seguenti comandi:

  1. Creazione keystore: “openssl pkcs12 -export -name server-cert -in <certificato>.pem -inkey <chiave_pubblica>.key -out <keystore>.p12
  2. Convertire il keystore con il comando: “keytool -importkeystore -destkeystore <keystore>.jks -srckeystore <keystore>.p12 -srcstoretype pkcs12 -alias <allias>

Commenti

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

75 − 65 =
Powered by MathCaptcha