Hi,
I am developing a product where I need to connect to the ESX Server using my product and also invoke certain APIs on the server. Is there anyway I can obtain and generate keystores for the Server certificates (to use HTTPS) from my Java code? I do not want the customer to be inconvenienced by the whole "obtain certificate, use 'keytool' and store in the mentioned directory" dance. My product will run in an environment where there might be dozens of ESX Servers, hence the requirement to have the whole functionality in my code.
Any pointers?
Regards,
Timmy.
Bwahahahahahahahahahahahahaha!
You could always ignore the SSL mis-match errors with the following line:
System.setProperty("axis.socketSecureFactory", "org.apache.axis.components.net.SunFakeTrustSocketFactory");
You could always ignore the SSL mis-match errors with the following line:
System.setProperty("axis.socketSecureFactory", "org.apache.axis.components.net.SunFakeTrustSocketFactory");
Thanks a ton akutz!
Just a bit of a query more - does this just ignore certificates or does it turn-off SSL completely? ( I am guessing it's the former!).
Regards,
Timmy.
Bwahahahahahahahahahahahahaha!
Per the java docs:
Hook for Axis sender, allowing unsigned server certs
The Apache WIKI has some good information as well.