Creating the client keystore - 7.1

Talend ESB STS User Guide

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
Installation and Upgrade
EnrichPlatform
Talend ESB
Talend Runtime
openssl req -x509 -days 3650 -newkey rsa:1024 -keyout clientkey.pem 
   -out clientcert.pem -passout pass:<PW-Cs> 
openssl pkcs12 -export -inkey clientkey.pem -in clientcert.pem 
   -out client.p12 
   -name myclientkey -passin pass:<PW-Cs> -passout pass: <PW-Ck>
keytool -importkeystore -destkeystore clientstore.jks -deststorepass  
   <PW-Cs> -deststoretype jks -srckeystore client.p12 
   -srcstorepass <PW-Ck>-srcstoretype pkcs12
keytool -list -keystore clientstore.jks -storepass <PW-Cs> -v
keytool -exportcert -alias myclientkey -storepass <PW-Cs> -keystore 
   clientstore.jks -file client.cer 
keytool -printcert -file client.cer
rm *.pem *.p12