Newman: How to send ssl cert in newman request
up vote
0
down vote
favorite
I have a curl command that I'd like to have run as a collection using newman:
curl -i -v
-H "X-FromAppId: APPLICATION"
-H "X-TransactionId: 22222222"
-H "Accept: application/json"
-H "Content-Type: application/json"
--cacert iis_cert_2018_07.pem
--key iis_cert_2018_07.pem
--cert iis_cert_2018_07.pem
-X GET https://iis-udev02.dev.test.com:8443/iis/v1/common/policies/343
--insecure
I have a collection that executes that GET request, and it works just fine on Postman (after configuring the certs in the UI), but how do I notify newman of those certs when running the collection through the commandline?
I've tried:
newman run GETRequest.postman_collection.json --ssl-client-cert iis_cert_2018_07.pem --ssl-client-passphrase iis_cert_2018_07.pem --insecure
But that doesn't work.
How is a cert sent in a newman request?
ssl curl postman newman
add a comment |
up vote
0
down vote
favorite
I have a curl command that I'd like to have run as a collection using newman:
curl -i -v
-H "X-FromAppId: APPLICATION"
-H "X-TransactionId: 22222222"
-H "Accept: application/json"
-H "Content-Type: application/json"
--cacert iis_cert_2018_07.pem
--key iis_cert_2018_07.pem
--cert iis_cert_2018_07.pem
-X GET https://iis-udev02.dev.test.com:8443/iis/v1/common/policies/343
--insecure
I have a collection that executes that GET request, and it works just fine on Postman (after configuring the certs in the UI), but how do I notify newman of those certs when running the collection through the commandline?
I've tried:
newman run GETRequest.postman_collection.json --ssl-client-cert iis_cert_2018_07.pem --ssl-client-passphrase iis_cert_2018_07.pem --insecure
But that doesn't work.
How is a cert sent in a newman request?
ssl curl postman newman
Could you also add the error messages from the run, if any?
– Kunal Nagpal
Nov 10 at 12:04
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a curl command that I'd like to have run as a collection using newman:
curl -i -v
-H "X-FromAppId: APPLICATION"
-H "X-TransactionId: 22222222"
-H "Accept: application/json"
-H "Content-Type: application/json"
--cacert iis_cert_2018_07.pem
--key iis_cert_2018_07.pem
--cert iis_cert_2018_07.pem
-X GET https://iis-udev02.dev.test.com:8443/iis/v1/common/policies/343
--insecure
I have a collection that executes that GET request, and it works just fine on Postman (after configuring the certs in the UI), but how do I notify newman of those certs when running the collection through the commandline?
I've tried:
newman run GETRequest.postman_collection.json --ssl-client-cert iis_cert_2018_07.pem --ssl-client-passphrase iis_cert_2018_07.pem --insecure
But that doesn't work.
How is a cert sent in a newman request?
ssl curl postman newman
I have a curl command that I'd like to have run as a collection using newman:
curl -i -v
-H "X-FromAppId: APPLICATION"
-H "X-TransactionId: 22222222"
-H "Accept: application/json"
-H "Content-Type: application/json"
--cacert iis_cert_2018_07.pem
--key iis_cert_2018_07.pem
--cert iis_cert_2018_07.pem
-X GET https://iis-udev02.dev.test.com:8443/iis/v1/common/policies/343
--insecure
I have a collection that executes that GET request, and it works just fine on Postman (after configuring the certs in the UI), but how do I notify newman of those certs when running the collection through the commandline?
I've tried:
newman run GETRequest.postman_collection.json --ssl-client-cert iis_cert_2018_07.pem --ssl-client-passphrase iis_cert_2018_07.pem --insecure
But that doesn't work.
How is a cert sent in a newman request?
ssl curl postman newman
ssl curl postman newman
asked Nov 9 at 20:46
kramsiv94
7711
7711
Could you also add the error messages from the run, if any?
– Kunal Nagpal
Nov 10 at 12:04
add a comment |
Could you also add the error messages from the run, if any?
– Kunal Nagpal
Nov 10 at 12:04
Could you also add the error messages from the run, if any?
– Kunal Nagpal
Nov 10 at 12:04
Could you also add the error messages from the run, if any?
– Kunal Nagpal
Nov 10 at 12:04
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53233044%2fnewman-how-to-send-ssl-cert-in-newman-request%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Could you also add the error messages from the run, if any?
– Kunal Nagpal
Nov 10 at 12:04