The problem appears when your server has self signed certificate. To workaround it you can add this certificate to the list of trusted certificates of your JVM.
In this article author describes how to fetch the certificate from your browser and add it to cacerts file of your JVM. You can either edit JAVA_HOME/jre/lib/security/cacerts
file or run you application with -Djavax.net.ssl.trustStore
parameter. Verify which JDK/JRE you are using too as this is often a source of confusion.
See also: How are SSL certificate server names resolved/Can I add alternative names using keytool? If you run into java.security.cert.CertificateException: No name matching localhost found
Related Posts:
- What is .crt and .key files and how to generate them?
- Simple Java HTTPS server
- Java Keytool error after importing certificate , “keytool error: java.io.FileNotFoundException & Access Denied”
- SSL Error: unable to get local issuer certificate
- NET::ERR_CERT_REVOKED in Chrome, when the certificate is not actually revoked
- https connection using CURL from command line
- How to generate a self-signed SSL certificate using OpenSSL?
- Received fatal alert: handshake_failure through SSLHandshakeException
- Received fatal alert: handshake_failure through SSLHandshakeException
- HTTPS connection Python
- What exactly is cacert.pem for?
- Caused by: java.security.UnrecoverableKeyException: Cannot recover key
- Python requests SSL error – certificate verify failed
- How to disable cURL SSL certificate verification
- Issues with installing python libraries on Windows : CondaHTTPError: HTTP 000 CONNECTION FAILED for url
- Local version of a WordPress site – SSL/HTTPS enforced?
- bloginfo() and get_template_directory_uri() with SSL?
- After updating site to use SSL all images in posts point to http://
- Adding https to wordpress website
- SSL setup: wp-login css doesn’t load over httpS
- In WP versions >= 4.0, is FORCE_SSL_LOGIN forcing HTTPS for the entire admin session?
- Occasional HTTPS Mixed Content Warning
- Divert http to https with WordPress on IIS
- WordPress : To load all asset files coming from HTTP to HTTPS?
- I changed my site from HTTPS back to HTTP and now it is broken- Cannot access Admin panel on HTTP URL
- un-loading https
- WordPress site shows “File not found.” if opened through https
- Address a single page to SSL https secure protocol?
- wordpress http to https windows server
- Jetpack “Connect to WordPress” serving insecure content under HTTPS
- Allow non-SSL pages to use https or Force non-SSL pages to http?
- Website access with http and https
- Need ideas for HTTPS multiple domain solution
- How to control SSL in WordPress for automatically changing http to https?
- All content is HTTPS, but browsers warn of HTTP mixed content [closed]
- How do I handle SSL properly when WP is behind a reverse proxy?
- Hi do I change Media files that still show as http after installing ssl
- ERR_TOO_MANY_REDIRECTS on wordpress page [closed]
- URLs not being output with https
- Website Migration (with https) to a new domain(http)
- How to move my local wordpress to https?
- Why does WordPress uses HTTPS for JS, CSS on EC2
- Implications of not completing all tasks when switching to HTTPS
- SSL Certificate
- Front-end pages messed up due to HTTPS
- How to send user data from one website to another
- How come all my http URLs are turned to https?
- Forcing SSL (Bad Theme coding)
- How to switch static files back to using HTTP instead of HTTPS?
- My WordPress site SSL is in red crossed color and can’t load at first time?
- SSL/HTTPS Redirect Loop
- The plain HTTP request was sent to HTTPS port in wordpress [closed]
- iHow to redirect all http traffic to https now that a SSL certificate is added?
- How to force static assets with HTTP sources to load over HTTPS?
- Moving WordPress from http to https over existing site
- Displaying a remote SSL certificate details using CLI tools
- how to download the ssl certificate from a website?
- Is there a reason to use an SSL certificate other than Let’s Encrypt’s free SSL?
- Properly setting up a “default” nginx server for https
- Does each subdomain need it’s own SSL certificate?
- Generating a self-signed cert with openssl that works in Chrome 58
- Changing my URL in General Settings cause the site to crash
- wordpress is auto using http: not https: as it needs to because the server is http behind a reverse proxy https, how do I stop it?
- How to install OpenSSL in windows 10?
- Unable to find valid certification path to requested target – error even after cert imported
- Unable to find valid certification path to requested target – error even after cert imported
- curl: (60) SSL certificate problem: unable to get local issuer certificate
- curl: (60) SSL certificate problem: unable to get local issuer certificate
- “PKIX path building failed” and “unable to find valid certification path to requested target”
- “PKIX path building failed” and “unable to find valid certification path to requested target”
- “ssl module in Python is not available” when installing package with pip3
- @ converted to %40 in HTTPPost request
- Curl command for https ( SSL )
- nodejs – error self signed certificate in certificate chain
- Convert .pem to .crt and .key
- How to connect to FTP over TLS/SSL (FTPS) server in Java
- Unrecognized SSL message, plaintext connection? Exception
- SSL peer shut down incorrectly in Java
- How to execute a https GET request from java
- SSL_ERROR_BAD_CERT_DOMAIN
- CFNetwork SSLHandshake failed iOS 9
- Error Importing SSL certificate : Not an X.509 Certificate
- OpenSSL: unable to verify the first certificate for Experian URL
- keytool error bash: keytool: command not found
- “The underlying connection was closed: An unexpected error occurred on a send.” With SSL Certificate
- ERR_SSL_CLIENT_AUTH_SIGNATURE_FAILED in Google Chrome
- How do you redirect HTTPS to HTTP?
- urllib and “SSL: CERTIFICATE_VERIFY_FAILED” Error
- Could not establish secure channel for SSL/TLS with authority ‘*’
- Getting error in Curl – Peer certificate cannot be authenticated with known CA certificates
- How do you sign a Certificate Signing Request with your Certification Authority?
- How can I force users to access my page over HTTPS instead of HTTP?
- javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake during web service communicaiton
- javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake during web service communicaiton
- How to force Laravel Project to use HTTPS for all routes?
- How can I fix the “No certificates found – The app Chrome has requested a certificate” Android / Google Chrome issue
- WordPress wp-admin https redirect loop
- Is it safe to use sslverify => true for with wp_remote_get/wp_remote_post
- SSL Breaks WordPress CSS
- Setting $_SERVER[‘HTTPS’]=’on’ prevents access to wp-admin