Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to ignore certificate validation while communication with a Host

843811May 11 2010 — edited Aug 16 2010
Hi,
In our project we need to communicate with vCenter on https. But we do not need to validate the certificate while communicating with them (we do not have their certificates).
The list of vCenters to which we need to communicate will be in database and can change at runtime.

On the other hand, we need to communicate with any other Hosts (other than the given vCenters) on https using normal certificate validation.

Can any body please tell me how to do this?

Thank you,
Deepak
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 13 2010
Added on May 11 2010
9 comments
1,036 views