Reputation: 2958
I get this error when running newman v.3.2.0:
# failure detail
1. Error self signed certificate
Upvotes: 21
Views: 15514
Reputation: 4672
At least since newman 5.2.4
you can specify the path to a certificate or to a CA as a command line option.
Example for a Trusted CA specify:
--ssl-extra-ca-certs /etc/postman/trustedca.crt
You can also use for a single trusted server certificate:
--ssl-client-cert <path_to_file>
This can be used as :
newman run some-collection.json --ssl-extra-ca-certs trustedca.crt
More information at: https://github.com/postmanlabs/newman/blob/develop/README.md#ssl
Upvotes: 0
Reputation: 2958
Fixed this by running this:
$ newman run examples/sample-collection.json --insecure
instead of
$ newman run examples/sample-collection.json
Upvotes: 59