Error:0906D06C:PEM routines:PEM_read_bio:no start line

Please search for related topics, and then read through the guidelines before creating a new issue.

Describe the bug
error:0906D06C:PEM routines:PEM_read_bio:no start line

To Reproduce

I have PFX Client certificate, I have import in Postman & It works absolutely fine.

But while I’m trying with command line & using below command it shows me error.

newman run “@@! Mitek_Feature_TS001 Small.json” -e CordLess.json --ssl-client-cert “C:\Users******\Downloads\wildcard.dev.ockto.nl.pfx” --ssl-client-passphrase VpW92hSkCPHfEmrju1I

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

1 Like

we are facing same issue , any solution to this issue yet ?

Yes you just need to convert your “certificate.pfx” to [ certificate.crt & keyfile.key ]. Then it will work definitely.

newman works fine with crt and key, but we are trying to use pfx option which is not working in newman currently . pfx option doesn’t need key file which is very helpful in CI/CD.

That’s true .pfx is not supported by Newman.

Curious if you ever figured this out?

We have a cert with a .p12 extension that works just fine when loaded in the postman app, but gets the same error when trying to run with newman via the command line:

error:0909006C:PEM routines:get_name:no start line

Thanks for any help!
Ed