Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do fix newman error self signed certificate?

Tags:

ssl

newman

I get this error when running newman v.3.2.0:

# failure detail 1. Error self signed certificate

like image 993
nommer Avatar asked Nov 09 '16 23:11

nommer


People also ask

How do I fix error self-signed certificate in certificate chain in Postman?

Troubleshooting certificate errors To fix the error, turn off SSL verification for the request: Open the request and select the Settings tab. Select Enable SSL certificate verification to turn off this setting. Send the request again.

How do you fix the certificate is not trusted because it is self-signed?

You need to import the root certificate into the trust store for the browser. Once the browser knows you trust this root certificate, all certificates signed by this will show up as trusted.


1 Answers

Fixed this by running this:

$ newman run examples/sample-collection.json --insecure

instead of

$ newman run examples/sample-collection.json

like image 146
nommer Avatar answered Sep 28 '22 02:09

nommer