I\'ve a weird problem - a supplier uses TLS SSLv3 with both a self signed client and server certificate. This hasn\'t been a problem with Java1.5 and Java1.6 - simply import
For some reasons Java 8 doesn't accept self-signed certificate even added to its cacerts store.
My workaround for that is to create a custom keystore :
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -subj "/C=MA/ST=ByExample/L=Test/O=Chapter3/OU=Org/CN=bip70.com" -nodes
keytool -import -keystore clientkeystore -file cert.der -alias bip70.com -storepass changeit
then using it in My IDE using as jvm argument: -Djavax.net.ssl.trustStore=clientkeystore