cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartedit Certificate Issue on 1905 when using a custom keystore

0 Likes
1,042

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

Accepted Solutions (0)

Answers (1)

Answers (1)

StefanKruk
Active Participant
0 Likes

The Problem here is that the property

# point to host of the smartedit configuration
smartedit.tomcat.hostname=127.0.0.1

in 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...

also: https://help.sap.com/viewer/9d346683b0084da2938be8a285c0c27a/1905/en-US/74a74198460442b7a4e3c5feb886...

I hope this will help a bit