Error while logging to sonatype nexus repo

Hi,
I tried to login to a specific url which is for my organisation. I used the below command to login from Ubuntu VM in Azure got the error as “retry will retry, error on last attempt: Error: unable to verify the first certificate”. However, Login is happening in interactive way.
The command used is: npm-cli-login -r -u -p -e --strict flag

Any help would be much appreciated.