Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use self signed certificat with Postman

I'm using Postman to test my API.

It works fine in dev env as I'm calling my server in http. However on the acceptance testing platform, the server is in https and we are using self signed certificat.

When I try to make the call via Postman I get "Could not get any response" and it's written underneath that SSL connections are being blocked, with a link to this page.

However as notified in the comment, this does not work anymore for self signed ceritifcate and the latest chrome release. For info, I'm using Version 59.0.3071.115 (Build officiel) (64 bits)

When I go into google settings, then certificates : chrome://settings/certificates And I try to import an authority certificat, I get an error popin that says that my authority is not a certificat authority and it won't allow me to import it.

As I'm on linux, I tried to do what is detailed there : https://superuser.com/questions/1201552/not-a-certification-authority-while-importing-self-signed-certificate But even though I see my certificat when I call

certutil -d sql:$HOME/.pki/nssdb -L 

It still won't allow me to import it in google.

So how can one use self signed certificat under linux with Postman ?


EDIT : I was using the version from Chrome web store which is lacking SSL support. Downloaded the standalone and as @Pratik Mandrekar wrote it works fine!

like image 907
TheBakker Avatar asked Mar 09 '23 10:03

TheBakker


1 Answers

You can disable SSL certificate verification in Postman. Settings->SSL certificate verification as shown below.

enter image description here

like image 159
Pratik Mandrekar Avatar answered Mar 10 '23 23:03

Pratik Mandrekar