Re: No socket creation during request
N G Hemanth Kumar <[email protected]> Fri, 8 Mar 2024 09:34:08 +0530
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <CADUFfUJKmN-3kJLe5irBAGa2=Mfsbo4DwRXXnozvSZR1AVZksw@mail.gmail.com> |
--000000000000381b6506131e49c0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi team, Thanks for the response. Have created the issue in github. Note - Have even created a bug in CPan - https://rt.cpan.org/Public/Bug/Display.html?id=3D152148 On Fri, Mar 8, 2024 at 5:46=E2=80=AFAM Olaf Alders <[email protected]= m> wrote: > Hi N G Hemanth Kumar, > > I don't know if anyone is really using this mailing list anymore. If you > open an issue on the GitHub repo you're far more likely to get good help. > > All the best, > > Olaf > > On Tue, Mar 5, 2024, at 12:14 AM, N G Hemanth Kumar wrote: > > Hi team, > > Sorry I forgot a little more information. > We are able to connect to the sharepoint server through openssl command(*= openssl > s_client connect server:port*). > The request made via the LWP module to the sharepoint-server is through > *TLS-1.2* protocol. > > *Perl version being used: perl-5.18.2* > > Thanks, > N G Hemanth Kumar > > On Tue, Mar 5, 2024 at 10:29=E2=80=AFAM N G Hemanth Kumar < > [email protected]> wrote: > > Hi team, > > Hope you are doing well. We have NTLM Sharepoint application configured i= n > our application. The library we are using to support the authentication > operation/feature is *LWP::Authen::Ntlm and Net::SSL*. The authentication > flow is similar to what is posted in the page=E2=80=99s > <https://metacpan.org/pod/LWP::Authen::Ntlm> synopsis. It was working > fine with apache2-2.4.51(without tls1.3) and *openssl-1.0.2p*. > > But recently we upgraded the apache2 library to support tls1.3(with > *openssl-1.1.1d*). After this upgrade, the app is not able to make a > socket connection to the sharepoint server. When debugged further - it > wasn't able to create an ssl-socket using *Crypt::SSLeay::Conn->new *in > *Net::SSL(v2.85)* module. > > Could you please let us know what might be the possible reasons for this > issue and what are the possible ways to resolve this issue? > > Apache2 mod-perl : *apache2-mod_perl-2.0.8-13.5.1.x86_64* > LWP based modules : > *perl-libwww-perl-6.05, perl-LWP-MediaTypes-6.02, perl-LWP-Protocol-https= -6.04, perl-IO-Socket-SSL-2.052-4.3.1, perl-Crypt-SSLeay-0.64-3.57, perl-NT= LM-1.09-1.1, perl-Net-HTTP-6.06-5.2, perl-Net-SSLeay-1.64-3.2.* > > > Thanks, > N G Hemanth Kumar > > > -- > Olaf Alders > > =F0=9F=93=AE [email protected] > =F0=9F=9A=80 https://prettygoodping.com > > > --000000000000381b6506131e49c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi team,<br><br>Thanks for the response. Have created the = issue in github.=C2=A0<br>Note - Have even created a bug in CPan -=C2=A0<a = href=3D"https://rt.cpan.org/Public/Bug/Display.html?id=3D152148">https://rt= .cpan.org/Public/Bug/Display.html?id=3D152148</a><br></div><br><div class= =3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Mar 8, 2024 = at 5:46=E2=80=AFAM Olaf Alders <<a href=3D"mailto:[email protected]= om">[email protected]</a>> wrote:<br></div><blockquote class=3D"g= mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204= ,204,204);padding-left:1ex"><div class=3D"msg-7418732954657019061"><u></u><= div><div>Hi=C2=A0N G Hemanth Kumar,<br></div><div><br></div><div>I don'= t know if anyone is really using this mailing list anymore. If you open an = issue on the GitHub repo you're far more likely to get good help.<br></= div><div><br></div><div>All the best,<br></div><div><br></div><div>Olaf</di= v><div><br></div><div>On Tue, Mar 5, 2024, at 12:14 AM, N G Hemanth Kumar w= rote:<br></div><blockquote type=3D"cite" id=3D"m_-7418732954657019061qt"><d= iv dir=3D"ltr"><div>Hi team,<br></div><div><div><br></div><div><div>Sorry I= forgot a little more information.=C2=A0<br></div><div>We are able to conne= ct to the sharepoint server through openssl command(<b>openssl s_client con= nect server:port</b>).<br></div><div>The request made via the LWP module to= the sharepoint-server is through <b>TLS-1.2</b> protocol.<br></div><div><b= r></div><div><b>Perl version being used:=C2=A0perl-5.18.2</b><br></div></di= v></div><div><b></b><br></div><div>Thanks,<br></div><div>N G Hemanth Kumar<= br></div></div><div><br></div><div><div dir=3D"ltr">On Tue, Mar 5, 2024 at = 10:29=E2=80=AFAM N G Hemanth Kumar <<a href=3D"mailto:hemanthkumar5653@g= mail.com" target=3D"_blank">[email protected]</a>> wrote:<br></= div><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb= (204,204,204);padding-left:1ex"><div dir=3D"ltr"><div><div>Hi team,<br></di= v><div><br></div><div>Hope you are doing well. We have NTLM Sharepoint appl= ication configured in our application. The library we are using to support = the authentication operation/feature is <b>LWP::Authen::Ntlm and Net::SSL</= b>. The authentication flow is similar to what is posted in the=C2=A0<a hre= f=3D"https://metacpan.org/pod/LWP::Authen::Ntlm" target=3D"_blank">page=E2= =80=99s</a>=C2=A0synopsis. It was working fine with apache2-2.4.51(without = tls1.3) and <b>openssl-1.0.2p</b>.<br></div><div><br></div><div>But recentl= y we upgraded the apache2 library to support tls1.3(with <b>openssl-1.1.1d<= /b>). After this upgrade, the app is not able to make a socket connection t= o the sharepoint server. When debugged further - it wasn't able to crea= te an ssl-socket using=C2=A0<b>Crypt::SSLeay::Conn->new </b>in <b>Net::S= SL(v2.85)</b> module.<br></div></div><div><div><br></div><div>Could you ple= ase let us know what might be the possible reasons for this issue and what = are the possible ways to resolve=C2=A0this issue?<br></div><div><br></div><= div>Apache2 mod-perl : <b>apache2-mod_perl-2.0.8-13.5.1.x86_64</b><br></div= ><div>LWP based modules :=C2=A0<b>perl-libwww-perl-6.05,=C2=A0perl-LWP-Medi= aTypes-6.02,=C2=A0perl-LWP-Protocol-https-6.04,=C2=A0perl-IO-Socket-SSL-2.0= 52-4.3.1,=C2=A0perl-Crypt-SSLeay-0.64-3.57,=C2=A0perl-NTLM-1.09-1.1,=C2=A0p= erl-Net-HTTP-6.06-5.2,=C2=A0perl-Net-SSLeay-1.64-3.2.</b><br></div></div><d= iv><div><br></div><div><br></div><div>Thanks,<br></div><div>N G Hemanth Kum= ar<br></div></div></div></blockquote></div></blockquote><div><br></div><div= id=3D"m_-7418732954657019061sig121518600"><div>--<br></div><div><span styl= e=3D"font-family:monospace"><span style=3D"font-size:16px"><span>Olaf Alder= s</span></span></span><br></div><div style=3D"color:rgb(32,33,36);font-fami= ly:Arial,Helvetica,sans-serif;font-size:small;font-style:normal;font-varian= t-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:= normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0p= x;text-decoration-style:initial;text-decoration-color:initial"><div><span s= tyle=3D"font-family:monospace"><span style=3D"font-size:16px"><span></span>= </span></span><br></div><div><div><span style=3D"font-family:monospace"><sp= an style=3D"font-size:16px"><span>=F0=9F=93=AE <span style=3D"color:rgb(255= ,255,255)"><a href=3D"mailto:[email protected]" target=3D"_blank">ol= [email protected]</a></span></span></span></span><br></div><div><span = style=3D"font-family:monospace"><span style=3D"font-size:16px"><span><span = style=3D"color:rgb(255,255,255)"></span>=F0=9F=9A=80 <a href=3D"https://pre= ttygoodping.com/" target=3D"_blank">https://prettygoodping.com</a></span></= span></span><br></div></div></div><div><br></div></div><div><br></div></div= ></div></blockquote></div> --000000000000381b6506131e49c0--