This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I want to access data from a secure site(HTTPS) .so my client program will access data securely(with free certificate).can any body please tell me how can i get free certificate and how will i access(through java client programme) the content of that site securely.
Is there any alternate way to retrieve data from a secure site securely without using certificate?
The code you posted doesn't disable SSL -- the only thing it does is disable the check to see if the certificate is valid. And the only way to make sure it is valid, if you don't want to disable the check, is to register it with a certificate authority.
Other than bypassing the check, everything else related to SSL, ie. encryption, is still in use.
Thanks for your replay . I want to share my requirement with you people actually i am giving my request(all the account related details)to PayPal site so after validation they are returning some reference id about transaction(Whether transaction succeed or failed ) so right now i am getting response from PayPal site by disabling certificate(i think by insecure way) but i want to get the response in secure way so is there any way to implement this..? Kindly suggest your response will be highly appreciated.