HPIO Approval with SM
I have an issue implementing an approval process for Matrix (HPIO) using Service Manager 9.30. I can open the Change Request just fine from an OO Flow, then I can Approve that ticket in Service manager. That triggers a macro, which calls a script that issues an HTTPS call to Approve/Reject nbAPI in Matrix (IO).
So for this to work I have to set the SSL communication right between SM and the IO server. And this is where I'm having issues. And I used to have it working just fine with SM7.01, by using keytool to import the IO (selfsigned) certificate in the SM cacerts located in <SM>\server\RUN\jre\lib\security, and restart SM.
That won't work in SM9.30. I always get the infamous:
Error calling method: doHttpRequest in class:com/hp/ov/sm/server/utility/HttpClient Exception (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)
I have noticed that there are many cert stores on my server:
And a few more in other places not server related.
1/ Which one should I be using?
2/ Is the right way to import a selfsigned to use:
keytool -importcert -file iocertificate.cer -alias cmssrv.bladesystem.net -keystore cacerts -trustcacerts
3/ I have imported it in all 3 already, with no progress, what Am I missing?
Thanks a lot