Connecting from Config Client to Config Server using self-signed certificates
See original GitHub issueIs there a way for a config client to connect to a config server if the config server is using self-signed certificates? The idea here is to use self-signed for local testing, then use real certificates in production. Is there a property on the client side that can be used to have it relax?
Client’s exception, when attempting to connect to the config server, is:
2015-05-11 11:47:47.948 ERROR 41554 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "https://localhost:8443/subject/subject/master":java.security.cert.CertificateException: No name matching localhost found; nested exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching localhost found
Issue Analytics
- State:
- Created 8 years ago
- Comments:19 (10 by maintainers)
Top Results From Across the Web
Spring Cloud Config
This quick start walks through using both the server and the client of Spring Cloud Config Server. First, start the server, as follows:...
Read more >15.2.2. Configure a client to accept a self-signed server ...
15.2.2. Configure a client to accept a self-signed server certificate · Issue the following command on the client: Copy · Enter the password...
Read more >Spring Cloud Config and Self-Signed Certificates - DZone
We take a look at the Spring Cloud Config and how to implement it with self-signed certificates using JGit, the API-based, ...
Read more >Connect to Spring Cloud Config Server that has SSL enabled
I am running spring cloud config server in a ECS cluster in AWS. It is fronted by a route 53 endpoint exposed on...
Read more >HTTPS using Self-Signed Certificate in Spring Boot - Baeldung
Spring Boot provides a set of a declarative server.ssl.* properties. We'll use those properties in our sample application to configure HTTPS ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Have you tried to run a command like the following? git config http.sslVerify false This will set the sslverify to false in the .git/config file [http] sslVerify = false
Git and SSH configuration is already mentioned in the user guide. Connecting to the config server over HTTPS is really out of the scope of Spring Cloud Config.