Hello,
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
Thanks
Hello @danielmitu,
we need to understand first, why you need to install a certificate, not just the fact of what you need.
examples:
- 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?
- etc
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.
Hello @danielmitu,
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.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.
Find more tutorials on the SAS Users YouTube channel.