I was using this IO::Socket::SSL; but I am getting certifcate validation error after providing all the details in Rest client
I am also observing that the following module is is not getting updated and IO::Socket::SSL its halting in my Straberry Perl for Windows.
SSL upgrade failed: SSL connect attempt failed with unknown error error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed at /usr/local/share/perl5/LWP/Protocol/http.pm line 208.# listen at 127.0.0.1:57715 # connect to 0: success reuse=0 version=TLSv1_3 t/session_ticket.t ................ 1/6 # connect to 0: success reuse= +1 version=TLSv1_3 # connect to 1: success reuse=1 version=TLSv1_3 # connect to 1: success reuse=0 version=TLSv1_3 # connect to 0: success reuse=0 version=TLSv1_3 # connect to 0: success reuse=1 version=TLSv1_3 t/session_ticket.t ................ ok t/sessions.t ...................... ok t/set_curves.t .................... ok t/signal-readline.t ............... skipped: signals not relevant on t +his platform t/sni.t ........................... ok t/sni_verify.t .................... 1/17
Its Responsecode1 : 500 . ts Responsecontent : Can't connect to sso.abc.com:443code> <p>My Rest client config is below</p> <code>sub run_api_call { #start with connecting to Okta and getting the users $client->setHost('https://sso.abc.com'); $client->setCert("$cert"); $client->setKey("$certkey"); $client->setCa("$certca1"); $client->setCa("$certca"); $client->addHeader('Authorization',"SSWS $value"); $client->addHeader('Accept','application/json'); $client->addHeader('Content-type','application/json'); $client->GET($_[0]); }
In reply to Error in certificate validation. Need help! by chandantul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |