mardi 15 octobre 2019

using ssl client certificate via newman CLI throwing an error

Newman Version (can be found via newman -v): 4.5.1

Command / script used to run Newman:

newman run abc.json -e xyz.postman_environment.json --ssl-client-cert abc.crt --ssl-client-key xya.key --ssl-client-passphrase abcd1234 --insecure

I added a certificate, a key along with passphrase in Postman UI but when running the same collection via Newman command, I am getting following error :-

write EPROTO 108400:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:332:

How can I resolve this? Is there something wrong with the CLI command?

Aucun commentaire:

Enregistrer un commentaire