knox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Minder <>
Subject Tip for extracting self self signed cert for use with curl
Date Fri, 07 Mar 2014 17:05:59 GMT
keytool -exportcert -rfc -alias gateway-identity -keystore 
data/security/keystores/gateway.jks -rfc -file gateway.pem

# You can either provide the master password when prompted or just hit 
return and ignore the resulting warning.

curl -u guest:guest-password --cacert gateway.pem 

# Note the -k is not required.

NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

View raw message