I finally got the finger prints to match - by going to the site and copying
the cert to file and import it again.

But .... ColdFusion is still throwing the following error 
Connection has been shutdown: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found

I don't know what to do anymore, it works when I run the Java class as an
application (it always has worked). In the Java class I explicitly point to
the keystore, could this have anything to do with it?

-----Original Message-----
From: Taco Fleur [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 13 July 2005 11:18 AM
To: CF-Talk
Subject: CodFusion keystore

I am trying to import a certificate into another store (CF), but I can't
get the fingerprints to match on the two, while I am sure the
certificate is the same.

 

In my

C:\Documents and Settings\Administrator\ directory when I run "keytool
-list -keystore .keystore"

I get

 

Your keystore contains 2 entries

 

asiccert, 6/07/2005, trustedCertEntry,

Certificate fingerprint (MD5):
AE:A9:A6:61:D4:EE:D5:4A:B6:14:56:AC:6A:46:CB:2C

shelco, 6/07/2005, keyEntry,

Certificate fingerprint (MD5):
E0:05:34:7C:9C:A2:E9:9E:E6:0E:A8:66:4D:60:3A:F2

 

And the above works, but when I do the same on 

C:\CFusionMX\runtime\jre\lib\security\cacerts I get

 

asiccert, 13/07/2005, trustedCertEntry,

Certificate fingerprint (MD5):
E0:05:34:7C:9C:A2:E9:9E:E6:0E:A8:66:4D:60:3A:F2

 

This is how I added the later:

 

C:\Temp\signature>keytool -import -keystore
C:\CFusionMX\runtime\jre\lib\securit

y\cacerts -file C:\Temp\signature\Shelco.cert.der -alias asiccert

Enter keystore password:  changeit

Owner: CN=Graham Chapman test 200 serial, OU=eBusiness Development CA,
O=ASIC, L

=Sydney, ST=NSW, C=AU

Issuer: OU=eBusiness Development CA, O=ASIC, L=SYDNEY, ST=NSW, C=AU

Serial number:
ed128008ec110fd416d961bd42ea0cabbd42ff0caced128008ec110fd416d961b

d42ea0cabbd42ff0caced128008ec110fd416d961bd42ea0cabbd42ff0caced128008ec1
10fd416d

961bd42ea0cabbd42ff0caced128008ec110fd416d961bd42ea0cab

Valid from: Thu Aug 19 09:29:11 EST 2004 until: Fri Aug 19 09:29:11 EST
2005

Certificate fingerprints:

         MD5:  E0:05:34:7C:9C:A2:E9:9E:E6:0E:A8:66:4D:60:3A:F2

         SHA1:
70:ED:59:6E:02:B8:9B:C3:0D:9B:3D:0E:92:0C:7B:DB:73:BE:26:0E

Trust this certificate? [no]:  y

Certificate was added to keystore

 

Anyone able to help out?

________________________________

Taco Fleur - E-commerce Development Manager

Shelco Searches & Services

An Authorised ASIC Information Broker

www.shelco.com.au

Ph: + 61 7 3236 2605

 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211710
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to