xiss
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks I used portecle-1.5 http://sourceforge.net/projects/portecle/ that works flawelessly!
Perhaps this can help:
http://stackoverflow.com/questions/150167/how-do-i-list-export-private-keys-from-a-keystore