You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Stone, Timothy" <ts...@cityofhbg.com> on 2003/04/28 14:23:56 UTC
How do I create a new keystore...
Tomcat gurus,
Abstract:
How do I create a new keystore to correct my expired key/cert?
My platfrom... Win2k w/ JDK: 1.4.1_02
I'm running a Tomcat 4.1.x server with SSL. Recently my original
certificate expired.
I need to create a new one but keytool is providing me cryptic
exceptions.
here's some of the attempts I have made:
C:\>keytool -genkey -alias tomcat -keyalg RSA -keystore \
"e:\bugger\clean city\conf"
keytool error: java.lang.Exception: Keystore file exists, but is empty:
e:\bugger\clean city\conf
C:\>keytool -delete -v -alias tomcat
keytool error: java.lang.Exception: Keystore file does not exist:
C:\Documents and Settings\Administrator.ADMINISTRATION\.keystore
C:\>keytool -delete -v -alias tomcat -keystore \
"e:\bugger\clean city\conf"
keytool error: java.lang.Exception: Keystore file exists, but is empty:
e:\bugger\clean city\conf
C:\>keytool -list
keytool error: java.lang.Exception: Keystore file does not exist:
C:\Documents and Settings\Administrator.ADMINISTRATION\.keystore
C:\>keytool -list -keystore e:\bugger\cleanc~1\conf
keytool error: java.lang.Exception: Keystore file exists, but is empty:
e:\bugger\cleanc~1\conf
What gives?
Many thanks in advance.
Warmest Regards,
Tim
--
/**
* Timothy Stone . Sun Certified Java Programmer
* Web Master . tstone at cityofhbg dot com
* City of Harrisburg . 717.255.7297
* Pennsylvania USA . 717.903.9162
*
* "Censorship always defeats its own purpose,
* for it creates in the end the kind of society
* that is incapable of exercising real discretion."
* --Henry Steele Commager, Historian
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org