We are using vCloud SDK to connect to the vCD. In the sample code we saw that FakeSSLSocketFactory has been used as shown below:
vcloudClient.registerScheme("https", 443, FakeSSLSocketFactory.getInstance());
My understanding is that fake SSL socket factory is being used to deal with the case where self - signed certificate is being used by the VCD.
Correct me if this is incorrect.
My question is - in the real world environement VCD will be using the certificate signed by some autherized CA. How would it impact the above code snippet?