• : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • warning: Creating default object from empty value in /home/tcdaemon/tygerclan-Prod/site/modules/taxonomy/taxonomy.module on line 1390.

p12

Convert JKS and PKCS12 back and forth with keytool

Introduction

Here are a few CLI commands to convert a java key store file to a PKCS12 encoded cert chain and back. This requires the java development kit (Sun/Oracle JDK) 6 or newer.  

Instructions

JKS → P12

$> keytool -importkeystore \
-srckeystore keystore.jks \
-srcstoretype JKS \
-deststoretype PKCS12 \
-destkeystore keystore.p12

P12 → JKS

Syndicate content