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
Since an invalid SSL/TLS certificate renders the communication channel between client and server unencrypted and data travels in cleartext, this could lead to a serious breach in security.
An SSL certificate error occurs when the browser cannot verify the SSL certificates returned by the server. When the error happens, the browser blocks the website and warns the user that the website cannot be trusted as shown below. These warnings will negatively impact the user's trust in your website.
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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With