Selecting Authentication for Anaplan Connect
Hi All,
I am testing Anaplan Connect. I used the script builder to build me a script. However, when I went to run it I got the following error:
unable to find valid certification path to requested target executing POST https://auth.anaplan.com/token/authenticate (SSL handshake: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (Validator: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (Sun cert path builder: unable to find valid certification path to requested target))))
I am guessing I didn't select the correct authentication method. I selected Basic authentication . (not certificate or OAuth2) Our company currently uses single sign on from Okta. Is this my issue? How do I work around this? How would I run the script? Thx
Best Answer
-
Hi Olek,
First, if you are trying to use basic authentication in the script, you'll have to 1) make sure the integration user's manual login credentials are in the script and 2) uncheck the "SSO" box in the user management screen in the model. So long as those things are in place, the script should be able to authenticate and run the actions you've programmed.
Second, you will want to obtain and configure a CA cert ASAP for your integration account. You don't want to be sending plain text over the internet. For initial testing, that's fine, but your IT security team will flip out if it's more than just initial testing. They can probably help you obtain and configure that CA cert, BTW.
There is a really good quick-start guide on how to do this:
Also, if you would like some additional tips on how to parameterize your scripts (so you have easy dev/test/prod scripts that you only need to update the parameters in a config file), please take a look a my blog from 2020. The concepts are still valid in the current version of Anaplan Connect, even if the version we were on is no longer in service. You can find that here:
Good luck!
Stacey
1
Answers
-
Found this video for CA certs:
0 -
This thread posted a couple of years ago may also be useful…
1 -
Thank you Stacey
0