I have a java application in which I am connecting to restful web service URL. This web service does not have valid certificate.I have handled SSLHandshakeException in my code, but while launching application I am getting Security Warning pop-up stating "The certificate is not valid and cannot be used to verify the identity of this website" (Please refer attached image). If I click on 'Continue' button, my application is working fine thereafter.
Can anyone please suggest how to avoid this security warning pop-up while launching application?
Java Version used is 1.7.0_71