I have read all through the documentation and can't find what I am doing
wrong. The only thing that I didn't do was the importing of the
valicert_class2_root.crt file because I wasn't given one when I downloaded
my certificate.  I imported the real one after I imported the intermediate
crt.
 
C:\Program Files\Java\jdk1.5.0_05\bin>keytool -list -keystore .keystore
Enter keystore password:  changeit
 
Keystore type: jks
Keystore provider: SUN
 
Your keystore contains 1 entry
 
intermed, Nov 13, 2006, trustedCertEntry,
Certificate fingerprint (MD5):
7A:A5:BA:4F:BC:0A:C5:3C:56:E9:50:A0:13:6A:88:A9
 
C:\Program Files\Java\jdk1.5.0_05\bin>keytool -import -alias tomcat5
-keystore .
keystore -file www.anythingphotos.com.crt
Enter keystore password:  changeit
Owner: CN=www.anythingphotos.com, OU=Domain Control Validated,
O=www.anythingpho
tos.com
Issuer: [EMAIL PROTECTED], CN=Starfield Secure
Certificat
ion Authority, OU=http://www.starfieldtech.com/repository, O="Starfield
Technolo
gies, Inc.", L=Scottsdale, ST=Arizona, C=US
Serial number: 3ed340
Valid from: Sat Nov 11 10:38:24 EST 2006 until: Sun Nov 11 10:38:24 EST 2007
Certificate fingerprints:
         MD5:  73:EA:94:A1:38:C8:9A:5D:65:44:7C:C7:65:A7:01:5F
         SHA1: 5B:C3:AF:32:92:08:6A:C4:5A:37:81:B0:89:74:57:52:CD:5E:D1:B9
Trust this certificate? [no]: yes
 
So now I have this:
 
C:\Program Files\Java\jdk1.5.0_05\bin>keytool -list -keystore .keystore
Enter keystore password:  changeit
 
Keystore type: jks
Keystore provider: SUN
 
Your keystore contains 2 entries
 
tomcat5, Nov 13, 2006, trustedCertEntry,
Certificate fingerprint (MD5):
73:EA:94:A1:38:C8:9A:5D:65:44:7C:C7:65:A7:01:5F
intermed, Nov 13, 2006, trustedCertEntry,
Certificate fingerprint (MD5):
7A:A5:BA:4F:BC:0A:C5:3C:56:E9:50:A0:13:6A:88:A9
 
C:\Program Files\Java\jdk1.5.0_05\bin>
 
Could it have to do with the alias?  I am can't figure out what it could be.
I just get a 'page cannot be displayed' when trying to access it.  I have
been reading, but can't find anywhere that really explains who the keystore
and certificate relate to each other. if the alias matters.
 
I really need some help here.
 

Reply via email to