Anaplan Connect - Java Keystore Authentication Failure

Options
weemengism
weemengism Member, ALL USERS, Partner, Certified Model Builder Posts: 4 Occasional Contributor

Hi Everyone,

I am currently trying to get past the authentication stage of Anaplan connect using a batch file with java keystore. However I am unable to get past the authentication stage, below is the screenshot of the error:

 

weemengism_0-1611821685001.png

 

Was wondering if it was an error on the or my batch file (and not the authentication details)

 

The sample script (note I tried removing the certificate as mentioned in another post, but it returned the same results): 

@Echo off

set KeyStorePath="...jks"
set KeyStorePass="...."
set KeyStoreAlias="...."
set WorkspaceId="...."
set ModelID="..."
set CACertPath= "...crt"

 

set DumpName=""

set Chunksize=1

 

set Operation=-debug -service "https://api.anaplan.com" -auth "https://auth.anaplan.com" -workspace %WorkspaceId% -model %ModelId% -chunksize %Chunksize% -file %FileName1% -put %FilePath1% -output %DumpName%

 

 

rem *** End of settings - Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
cd %~dp0
set Credentials=-certificate %CACertPath% -keystore %KeyStorePath% -keystorepass %KeyStorePass% -keystorealias %KeyStoreAlias%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation%
@Echo %Command%
cmd /c %Command%

pause



Thanks in advance for your time.