03-29-2018 08:03 AM
I want to install a certificate in SAS 9.4 M2.
I installed it on CA root in windows, but I understood that I need to install it on SAS application.
I found something on internet, but, it is the procedure for Unix and our system is on Windows.
We run a job in SAS DI and the error that we have about this certificate is:
ERROR: org.springframework.ws.client.WebServiceIOException: I/O error: 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
03-29-2018 08:06 AM
we need to understand first, why you need to install a certificate, not just the fact of what you need.
- What is the piece of code that fails and give you this error? A Proc Soap/html?
- Does it happen just when you connect to the SASApp?
- Are you making use of any web service, or your SAS Content Server in your DI job?
03-29-2018 08:23 AM
If you have any Windows machines, you must add the CA root and intermediate certificates to the Windows Certificate stores. For more information, see Add Your Certificates to the Windows CA Stores. If you are running SAS 9.4M2 or earlier, also see Add Your Certificates to the SAS Private JRE.
03-29-2018 08:59 AM
03-30-2018 07:55 AM
glad to know you are making progress.
That error is a common one. You would need to set/change the default namespace by the one actually used. I expect this to solve your problem.
If you have trouble debugging, I always recommend using SOAPUI.