Description | This article describes how to extract installed SSL certs for tomcat/portal/agent. |
Scope | FortiNAC-C, FortiNAC-F. |
Solution |
keytool -importkeystore -srckeystore /bsc/campusMgr/.keystore -destkeystore keystore.p12 -deststoretype PKCS12 -srcalias <tomcat/portal/agent> -deststorepass <password> -destkeypass <password>
openssl pkcs12 -in keystore.p12 -nokeys -out <Cert-File>
openssl pkcs12 -in keystore.p12 -nodes -nocerts -out <PrivKey-File>
cat <Cert-File/PrivKey-File>
|
Labels: