Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use pfx certificate in postman?

There is a way to import a .pfx certificate in postman? I need to send a user certificate for testing my API.

like image 899
Yuriy Shkraba Avatar asked Mar 04 '19 18:03

Yuriy Shkraba


2 Answers

At the time of writing this answer Postman didn't support .PFX files. Ref: Feature Request: Support for PFX

However you can extract cert and private key from the .PFX file using openSSL and configure those in Postman.

Extract key:

openssl pkcs12 -in pfxfile.pfx -nocerts -out key.pem -nodes

Extract cert:

openssl pkcs12 -in pfxfile.pfx -nokeys -out cert.pem
like image 200
Roshith Avatar answered Oct 08 '22 18:10

Roshith


Postman Canary Update has support for PFX Files now. You may use that build instead. enter image description here

like image 41
Kush Avatar answered Oct 08 '22 18:10

Kush