chandantul has asked for the wisdom of the Perl Monks concerning the following question:
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]); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error in certificate validation. Need help!
by hippo (Archbishop) on Mar 20, 2021 at 09:36 UTC | |
|
Re: Error in certificate validation. Need help!
by Anonymous Monk on Mar 20, 2021 at 02:12 UTC | |
by chandantul (Scribe) on Mar 20, 2021 at 03:15 UTC | |
by Corion (Patriarch) on Mar 20, 2021 at 06:45 UTC | |
by chandantul (Scribe) on Mar 22, 2021 at 11:37 UTC | |
by hippo (Archbishop) on Mar 22, 2021 at 12:00 UTC | |
| |
by chandantul (Scribe) on Mar 20, 2021 at 17:08 UTC |