I have a class that will download a file from a https server. When I run it, it returns a lot of errors. It seems that I have a problem with my certificate
first Download the ssl certificate then you can go to your java bin path execute the below command in the console.
C:\java\JDK1.8.0_66-X64\bin>keytool -printcert -file C:\Users\lova\openapi.cer -keystore openapistore