on ‎2020 Sep 16 2:54 PM
I am loading a custom keystore from a centralized location to load certificates for integration with 3rd parties. This helps to avoid installing new certificates on all the nodes whenever there is any new certificate to be installed or in case of jdk update. But, as soon as I load the custom keystore, the Smartedit doesn't render the login screen due to Certificate issue. Can someone please suggest how can I generate this smartedit certificate and therefore add it to the custom keystore so as to avoid the issue.
NFO [hybrisHTTP23] [XX.XX.XXX.XXX] [RestHandlerExceptionResolver] Translating exception [org.springframework.web.client.ResourceAccessException]: I/O error on GET request for "https://127.0.0.1:443/smarteditwebservices/v1/configurations": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target ERROR [hybrisHTTP23] [[XX.XX.XXX.XXX] [RestHandlerExceptionResolver] org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://127.0.0.1:443/smarteditwebservices/v1/configurations": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:674) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:636) at
Request clarification before answering.
The Problem here is that the property
# point to host of the smartedit configuration
smartedit.tomcat.hostname=127.0.0.1in smartedit/project.properties points to 127.0.0.1 and I assume that your Keystore does not have 127.0.0.1 as an Alternative DNS Name.
Also have a look at: https://help.sap.com/viewer/9d346683b0084da2938be8a285c0c27a/1905/en-US/143300e1bda8406cb089179c58f5...
I hope this will help a bit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.