Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL check not getting disabled while invoking operation #461

Open
sharmmoh1983 opened this issue Sep 6, 2022 · 0 comments
Open

SSL check not getting disabled while invoking operation #461

sharmmoh1983 opened this issue Sep 6, 2022 · 0 comments

Comments

@sharmmoh1983
Copy link

sharmmoh1983 commented Sep 6, 2022

Description/Steps to reproduce

I am trying to ignore ssl negotiation while making soap request and it is working fine while querying WSDL and but failing while invoking operation

No SSL error

var options = { rejectUnauthorized: false };
soap.createClient(url, options, function(err, client) {

}

SSL error

client.setSecurity(new soap.ClientSSLSecurity(
   '/path/to/key'
   , '/path/to/cert'
   , {rejectUnauthorized: false,
strictSSL: false}
 ));
var method = client['StockQuote']['StockQuoteSoap']['GetQuote'];
 method(requestArgs, function(err, result,)

Expected result

Ignore SSL check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant