Why do you need to extract your private key? What are you trying to do? Have you tried java.security.Keystore.getKey() ?
Mark > -----Original Message----- > From: Hamilton Andrew [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 18, 2004 7:57 PM > To: Tomcat Users List > Subject: RE: Keystore help OT? > > No. That's not what the problem is. Getting a key into the > keystore is not > a difficult task. Fairly simple and straightforward. > Getting a private key > out is something else entirely. > > Drew > > -----Original Message----- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 18, 2004 2:50 PM > To: 'Tomcat Users List' > Subject: RE: Keystore help OT? > > > You just import the reply into the keystore (using the same > alias) and the > keystore combines them for you. Have a look at the keytool > docs that come > with > the JDK for further info. > > Mark > > > -----Original Message----- > > From: Hamilton Andrew [mailto:[EMAIL PROTECTED] > > Sent: Thursday, March 18, 2004 3:01 PM > > To: Tomcat Users List > > Subject: Keystore help OT? > > > > Anyone know how to get a private key out of a keystore? I > > may have screwed > > up, maybe not. I created a keystore and a cert request using > > the keys in > > the keystore. I got my new certificate but now I need my > > private key out of > > the keystore to match my new certificate. I don't know how > > to tell apache > > to get my server key out of the keystore. Or even if I > > should. Can anyone > > point me to any info on this? Should I ask this on the apache list? > > > > Thanks > > > > Drew > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]