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?
- 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”
- Curl command for https ( SSL )
- SSL peer shut down incorrectly in Java
- WordPress wp-admin https redirect loop
- Is it safe to use sslverify => true for with wp_remote_get/wp_remote_post
- Howto force SSL for all requests?
- SSL breaks customizer: page isn’t returned from ajax
- WordPress is Inserting images into Post as HTTP and not HTTPS
- Serve HTTPS requests from subdomain
- WordPress Move to SSL How to Update Media Assets to HTTPS?
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- Make default new sites https (multisite)
- I am locked out of my WordPress site after changing site URL from Http to Https
- Enabling SSL on wordpress results in 404
- Locked out of WordPress Site Admin after enabling Force SSL on WordPress Https (SSL)
- SSL: How to make customizer images Protocol Relative in WordPress?
- https multiple redirects
- How to properly force https and www on multisite with Apache HTAccess
- AJAX requests broken due to HTTPS for wp-admin
- SSL Certificate and WordPress
- XML asset fails to load using https
- Certain header elements not served over https
- WordPress 4.0 Forces entire site into SSL
- How to get Caching Plug-ins to work on localhost with HTTPS?
- How to protect login via SSL but not the rest of the dashboard
- The REST API request failed due to an error. cURL error 60: SSL certificate problem: certificate has expired
- Problem forcing San SSL certificate on WordPress
- Core update of 4.2.3 changes all link to https [duplicate]
- WordPress and SSL
- Access wordpress pages using a self signed shared ssl
- ‘Too many redirects’ error after changing site URL in WordPress [closed]
- Generate all urls with https
- Is it bad to redirect http to https?
- How to view all ssl certificates in a bundle?
- Wildcard SSL certificate for second-level subdomain