12

I use the following thing in the command line

newman run e_api.json -e ent_env.json --reporters cli,html

But it shows me unable to verify the first certificate error

How can I ignore https/ssl certificate error?

I tried using following command, but it's not working.

newman run e_api.json -e ent_env.json --reporters cli,html --ignore-https_proxy
Divyang Desai
  • 7,483
  • 13
  • 50
  • 76
Sakib Espak
  • 345
  • 2
  • 6
  • 16

2 Answers2

29

As per Newman documentation, there is an option --insecure to disable strict SSL.

newman run e_api.json -e ent_env.json --reporters cli,html --insecure
Divyang Desai
  • 7,483
  • 13
  • 50
  • 76
4

I have same problem

it is my first command :

newman run "PostmanExport.json"

on this command I resaved this error:

 unable to verify the first certificate 

I change my Command to this

 newman run "PostmanExport.json" --insecure
Saber Motamedi
  • 362
  • 3
  • 27