Now-SDK issue authenticating

Derrick-FMR
Tera Contributor

Attempting to get now-sdk up and running in my PDI.  When I attempt to login I am getting the following error:

 

TestApp now-sdk auth save TestApp --host https://dev#######.service-now.com/ --username username --default
[now-sdk] Authenticating to instance "https://dev#######.service-now.com/".
? The password to authenticate with the instance
[now-sdk] Attempting to log into instance https://dev#######.service-now.com/ as username.
[now-sdk] [ERROR] Login to instance https://dev#######.service-now.com/ failed: RequestError: self-signed certificate in certificate chain

Can someone please tell me what I have missed?

 

Thank you!

1 REPLY 1

Amit Verma
Kilo Patron
Kilo Patron

Hi @Derrick-FMR 

 

To start with the troubleshooting, please check if your target instance is on Xanadu version or not. Also, check if you have the admin role assigned to the user you are trying to authenticate with.

 

I suspect it's a node error so you can refer below posts and see if anything helps :

https://stackoverflow.com/questions/45088006/nodejs-error-self-signed-certificate-in-certificate-cha...

https://stackoverflow.com/questions/72374104/serverless-error-requesterror-self-signed-certificate-i...

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.