Hi all,
I'm trying to connect to Anaplan through Anaplan Connect tool using a Sectigo Certificate.
I'm able to connect using an hard coded credentials (user:pass) but when trying to connect via Certificate I'm facing the error below.
Note: I have received an "user.crt" file from Sectigo on which I ran the following openssl code to get the private key:
openssl x509 -inform der -in user.crt -out certificate.pem
@Echo on
rem This example loads a source text file and runs an Anaplan import into a module.
rem For details of how to configure this script see doc\Anaplan Connect User Guide.doc
set certificate="C:\Anaplan\anaplan-connect\certificates\certificate.pem"
set WorkspaceId="8a81b09459"
set ModelId="61XYZA7"
set Operation=-file "Employee.txt" -put "C:\Users\User\Downloads\Employee.txt"
-import "New Hire from Employee.txt" -execute -output "C:\My Errors.txt"
rem *** End of settings - Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
cd %~dp0
set Credentials=-certificate %certificate%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation%
@Echo %Command%
cmd /c %Command%
Thanks in advance
Ruben