Reputation: 541
I try to test REST
api in Postman but every time I try to POST
I get the following error
Error: self signed certificate in certificate chain.
I have tried with the SSL
certificate verification on and off but both methods dont work. Postman is also updated to latest v7.3.6
.
Tbh I dont know what to try anymore and would really appreciate any tip.
Upvotes: 53
Views: 142458
Reputation: 1
My organization is using web proxy.
I had to do 3 things:
You could see the proxy in console when making the call with SSL disabled
Upvotes: 0
Reputation: 29
I used mkcert and here's how I managed to get rid of the error :
On the Site Information Icon, click where it's written Connection Not Secure
On the Certificate tab, scroll down till where you'll see 2 links for the PEM files, and download the PEM (Chain) file
On Postman, go to Settings -> Certificates -> CA Certificates (make sure the toggle button is ON), and specify (click on Select File) the location of your PEM Chain file.
There you are !!!
Upvotes: 0
Reputation: 3997
Adding CA certificates doesn't work for me. My certs are not self-signed but got the same error. Adding client certificates solved my problem. Quoted docs from Postman here: To send requests to an API that uses mutual TLS authentication, add your client certificate to Postman.
Upvotes: 0
Reputation: 161
"make ssl certificate verification on and make it still work"
If you're under organization environment, you can:
Upvotes: 13
Reputation: 1741
Go to Postman Settings > General > turn OFF SSL certificate verification
Upvotes: 90