Blog Post

Test Certificate Authentication using Postman

August 4, 2023

Prerequisites

1. Enable User to Certificate Mapping at backend/API Provider.

2. The Certificate PFX File.

3. The password of the certificate.

Overview

One Way SSL Authentication

In One Way SSL Authentication the communication is set up between an SSL server and the client. In One-way authentication creates a truststore on the client and a key store on the server. For example, CA certificate "A" exists in the truststore on the SSL client and in the keystore on the SSL server.

Two Way SSL Authentication

In Two-Way authentication there is a Truststore and keystore on both the client and the server. For example, there is a CA Certificate “A” in the Truststore and a CA Certificate “B” in the Keystore on both the client and server.

Steps To Test Certificate Authentication

1. Open Postman Settings > Certificates > Click on Add Certificate.

2. Enter the Host Name and Port No from the URL you will send in Postman.

3. For example, we have used an API URL from API Business hub.

4. Select the PFX File from the certificate which you may get from your Backend Team.

5. Enter the Passphrase as the certificate’s Password and click on Add.

6. Come back to Main page and keep the Authentication as None.

7. After Successfully Sending the URL from Postman, we will get the following results as shown in the image.

LinkedIn 
Forbes Technology Council, Official Member (2022)
LinkedIn
Forbes Technology Council, Official Member (2022)

About the Author

Jaspreet is an Executive Consultant with expertise in SAP, SaaS/Cloud Integrations, Cyber Security and Data Science. Jaspreet is hands-On Architect who does Pre-Sales, Solution Architecture, Development, Lead Delivery of Complex Integration programs, Manage disperse teams and Ensure successful Project Go-Live/Goals. He has made a lasting impact on global businesses IT projects including Aflac, Advanced Energy, Donnelley Financial Solutions(DFIN), Dell EMC and many more.

Do you want to
learn more about integration?

We are dedicated to make our knowledge accessible. You can either figure it out by yourself or you can let us give you a hand.

Let us take care of your integration.

We are SAP Certified and we can make your project happen. Explore our services and contact us. We will be happy to take on your project.

View Our Services