SyntaxFix
Write A Post
Hire A Developer
Questions
In my case, cert is imported, error remains, solved this by adding System.setProperty("https.protocols", "TLSv1.2,TLSv1.1,SSLv3"); before connect
System.setProperty("https.protocols", "TLSv1.2,TLSv1.1,SSLv3");