That is a problem of security protocol. I am using TLSv1 but the host accept only TLSv1.1 and TLSv1.2 then I changed the protocol in Java with the instruction below:
System.setProperty("https.protocols", "TLSv1.1")
;
More Related Contents:
- Trusting all certificates using HttpClient over HTTPS
- Https Connection Android
- How to import an existing X.509 certificate and private key in Java keystore to use in SSL?
- why doesn’t java send the client certificate during SSL handshake?
- How to ignore SSL certificate errors in Apache HttpClient 4.0
- Which Cipher Suites to enable for SSL Socket?
- How to fix the “java.security.cert.CertificateException: No subject alternative names present” error?
- How to handle invalid SSL certificates with Apache HttpClient? [duplicate]
- Ignoring SSL certificate in Apache HttpClient 4.3
- How to create a BKS (BouncyCastle) format Java Keystore that contains a client certificate chain
- Registering multiple keystores in JVM [duplicate]
- java – path to trustStore – set property doesn’t work?
- Using client/server certificates for two way authentication SSL socket on Android
- Read RSA private key of format PKCS1 in JAVA
- How to ignore PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException?
- How to force java server to accept only tls 1.2 and reject tls 1.0 and tls 1.1 connections
- PKIX path building failed in Java application
- Enabling specific SSL protocols with Android WebViewClient
- How to override the cipherlist sent to the server by Android when using HttpsURLConnection?
- Jenkins “unable to find valid certification path to requested target” error while importing Git repository
- Java SSL connect, add server cert to keystore programmatically
- Generate certificates, public and private keys with Java [closed]
- Using HTTPS with REST in Java
- javax.net.ssl.SSLException: SSL handshake aborted Connection reset by peer while calling webservice Android
- SSLContext initialization
- Java: Loading SSL Keystore via a resource
- TLS 1.2 + Java 1.6 + BouncyCastle
- Using Apache httpclient for https
- PKIX path building failed in Eclipse
- How do I list / export private keys from a keystore?