Hello,
I am trying to run an export action using Certificate Authentication but i am getting an error.
Below is my script and the error, any help would be appreciated!
My script is:
Hi,
you have commented the CA path:
Remove the "rem"
Regards
Hi,
Thank you for your comment.
The .pem certificate path is not mandatory in this case. That is why i have added rem before this line.
Can you give me any other feedback for removing this error message.
why is it not mandatory?
did you replace the values of the variables?
@ben_speight Can you please help
Remove "-certificate %CertPath%" from the line that sets the Credentials variable.
If CertPath is unset (or empty even) then it will expand to an empty string and the next (flag) argument will be used as the certificate path, and after that the program knows something is wrong and bails out.
Hi Ben,
Thank you for the reply.
In my original script "-certificate %CertPath%" was already removed.It was not removed it from this script.Sorry for the mistake.