# Cer and pem Certificate Do Not Work

**URL:** <https://community.postman.com/t/cer-and-pem-certificate-do-not-work/4987>\
**Category:** Help Hub\
**Tags:** client-certificate\
**Created:** [April 13, 2019, 6:57pm UTC](https://community.postman.com/t/cer-and-pem-certificate-do-not-work/4987 "2019-04-13T18:57:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PineForest](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/pineforest/32/1619_2.png) [@PineForest](https://community.postman.com/u/PineForest)\
**Post date:** [April 13, 2019, 6:57pm UTC](https://community.postman.com/t/cer-and-pem-certificate-do-not-work/4987/1 "2019-04-13T18:57:30Z")

</div>

I am running Postman Version 7.0.7 (7.0.7) on Mac OS X Mojave 10.14.4 (18E226).

The server is presenting a certificate chain rooted in “XXX CA”. I have added (at separate times and not together) both a CER and a PEM to Postman. I set the domain and port of the target server. I use the CER or PEM as both the certificate and the key. There is no password. I cannot connect to the server.

The PEM certificate is added to my OS X Keychain and I am able to connect successfully to the same server.

Please advise.

Here is the output I receive in Postman console:

Error: unable to get local issuer certificate

- 
  - Request Headers:
    - Accept:“application/json”
    - Accept-Language:“en-US,en;q=0.8”
    - Content-Type:“application/json”
    - Pragma:“no-cache”
    - X-Requested-With:“Postman”
    - cache-control:“no-cache”

\*\*\*\* NEW \*\*\*\*

I generated a CRT from the “XXX CA” PEM. I then exported the public key for the PEM to a “KEY” file. This also resulted in the output above.
