Self signed certificate error Postman CLI

Hello,

When I try to run a collection in the postman CLI I’m getting this error when I’m trying to login on the cli.

Can’t find any solutions on the internet.
I already have SSL certificate verification turned off.

Hey @Coxjeffrey :wave:

What that’s the command that you’re using for the Postman CLI?

Hey Danny,

postman login --with-api-key {Generated API key}

That’s the command to login but not to run the Collection.

It would be something like postman collection run ...

Yes I know, but I get the error when login in in postman CLI.

I’m just not able to login without an error.

Is there a work around so I dont have to login in the command prompt and just can run my tests? With the newman cp It was working just fine, but now I have updated my tests to work with the new postman commands but I’m not able anymore to run them automated without able to login

Any Idea on this? I can run automated test in the cloud and al my request run normally. Just not able to login to the postman CLI.

What did you mean by updating tests to use the new Postman commands? Are you now using Scripts from the Package Library?

You can also run that Collection without logging in via the CLI, it should work like Newman does.

postman collection run "collection.json"