Search code examples
postmannewman

How do I add a custom Ca to the truststore in newman?


I am using Newman to run some tests. The URL I am testing against uses certs signed by my org CA and theefore I get an ssl error. Is there a way to add the org CA to newman's trust store? I know I could use --insecure but I would much rather not.


Solution

  • Posting for posterity - use the environment var NODE_EXTRA_CA_CERTS to point to your trust store