Link to home
Start Free TrialLog in
Avatar of xiss
xissFlag for Netherlands

asked on

Export Privatekey with JAVA keytool on tomcat server

Hi all,

I'm trying to export my privatekey from my tomcat server using keytool. If I use the following command;

C:\Program Files\AhsayOBS and AhsayRPS\java\bin>keytool -export -alias tomcat -file c:\back01.crt -keystore "C:\Program Files\AhsayOBS and AhsayRPS\conf\keystore"

I do get "back01.crt" but when I try to import it in my ISA Server it states that the private key is missing. Is there a way to export the certificate with private key?

Regards,

Kasper
Avatar of for_yan
for_yan
Flag of United States of America image

ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland 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 xiss

ASKER

Thanks I used portecle-1.5 http://sourceforge.net/projects/portecle/ that works flawelessly!