Link to home
Start Free TrialLog in
Avatar of Dave_Angel_Portsmouth
Dave_Angel_Portsmouth

asked on

How do i export a certificate with private key from a tomcat java .keystore to IIS7 (.pfx)?

Hello Experts,

How do i export a certificate with private key from a tomcat java .keystore to IIS7 (.pfx)?

I have tried keytool -export but only seem to get the cert and not the cert and private key.
ASKER CERTIFIED SOLUTION
Avatar of gudii9
gudii9
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dave_Angel_Portsmouth
Dave_Angel_Portsmouth

ASKER

could you point me to a specific command sec within these as my Java keystore knowledge is minimal at best
Avatar of CEHJ
Look at the last link above
keytool -v -importkeystore -srckeystore .keystore -srcalias Tomcat -destkeystore <keystorename>.p12 -deststoretype PKCS12¿ seemed to do the trick