/pem

a small tool to extract pem file out of ccnx keystore

Primary LanguageShell

ccn-extract-public-key.sh is a script to extract X509 certificate from CCNx keystore file

Usage:

  ./ccn-extract-public-key.sh [-h] (-D | -i ccnx_keystore_file) [-o output_file]
      -i specify input keystore file
      -D use default keystore file ($HOME/.ccnx/.ccnx_keystore)
      -o specify output file (stdout by default)

      Keystore password can be defined through CCNX_KEYSTORE_PASSWORD environment variable,
      if not explicitly defined, the default CCNx keystore password will be used