How to turn off all SSL checks on Postman for a specific site?

TestingPostmanSsl Certificate

Testing Problem Overview


Please read this carefully. Please do not send me a link on how to import a certificate.

I am using Postman for QA and testing work. I have a test system I frequently rebuild myself and so it is completely trusted. It has a custom self-signed certificates and I import them as detailed here: http://blog.getpostman.com/2014/01/28/using-self-signed-certificates-with-postman/

However, when I access the site, https://mysite.mycompany.com, I get a message "NET::ERR_CERT_REVOKED". Since it is revoked, importing the certificate does not help at all.

So, is there a way to get Postman to simply ignore certificates for testing purposes? I am not testing certificates but other functionality at this point in time. I do not care about security in this case at all as I have complete control of the system, I am behind a firewall, and I frequently rebuild the system.

Testing Solutions


Solution 1 - Testing

There is an option in Postman if you download it from https://www.getpostman.com instead of the chrome store (most probably it has been introduced in the new versions and the chrome one will be updated later) not sure about the old ones.

In the settings, turn off the SSL certificate verification option enter image description here

Be sure to remember to reactivate it afterwards, this is a security feature.

If you really want to use the chrome app, you could always add an exception to chrome for the url: Enter the url you would like to open in the chrome browser, you'll get a warning with a link at the bottom of the page to add an exception, which if you do, it will also allow postman to access your url. But the first option of using the postman stand-alone app is much better.

I hope this can help.

Solution 2 - Testing

enter image description here

click here in settings, one pop up window will get open. There we have switcher to make SSL verification certificate (Off)

Solution 3 - Testing

This is not the exact answer to this question, but those who are not able to find setting popup. Their is two ways to open setting pop up.

  1. Way 1

  2. Way 2

Solution 4 - Testing

enter image description here

This steps are used in spring boot with self signed ssl certificate implementation

if SSL turns off then HTTPS call will be worked as expected.

https://localhost:8443/test/hello

These are the steps we have to follow,

  1. Generate self signed ssl certificate
keytool -genkeypair -alias tomcat -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore keystore.p12 -validity 3650

after key generation has done then copy that file in to the resource foder in your project

  1. add key store properties in applicaiton.properties
server.port: 8443
server.ssl.key-store:classpath:keystore.p12
server.ssl.key-store-password: test123
server.ssl.keyStoreType: PKCS12
server.ssl.keyAlias: tomcat
  1. change your postman ssl verification settings to turn OFF

now verify the url: https://localhost:8443/test/hello

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionPJLopezView Question on Stackoverflow
Solution 1 - TestingAl-Maamari TareqView Answer on Stackoverflow
Solution 2 - TestingAnurag_BEHSView Answer on Stackoverflow
Solution 3 - TestingHimanshu ShekharView Answer on Stackoverflow
Solution 4 - TestingLokesh BabuView Answer on Stackoverflow