Re: SSL handshake failure on smsbox service call to various https URLs
Alex Kinch <[email protected]> Mon, 20 May 2024 14:01:50 +0100
| Newsgroups | gmane.comp.mobile.kannel.user |
|---|---|
| Message-ID | <CAByD3_v3xAvBQoZWKAcatjsy=+x7+RmxGpaao_5ENs8rMbTfbQ@mail.gmail.com> |
--000000000000ad85460618e24e23 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Mesbah Thanks for the reply. I'm not sure what ssl rule I should be looking at in Kannel? It works fine when I make a request to an AWS Lambda URL and other websites but not Cloudflare with a LetsEncrypt certificate. Kind regards Alex On Sat, 18 May 2024 at 12:15, Mesbahuddin Malik <[email protected]> wrote: > check kannel ssl rule. > > regards > Mesbah > > On Fri, May 17, 2024 at 9:33=E2=80=AFPM Alex Kinch <[email protected]> w= rote: > >> Hi all, >> >> I'm having odd problems when making an https request in an smsbox servic= e >> (on latest compiled release from SVN and also Debian packages), I get ba= ck: >> >> 2024-05-17 15:14:25 [24] [9] ERROR: SSL write failed: OpenSSL error 1: >> error:00000001:lib(0)::reason(1) >> 2024-05-17 15:14:25 [24] [9] ERROR: SSL error:0A000410:SSL >> routines::sslv3 alert handshake failure >> 2024-05-17 15:14:25 [24] [9] ERROR: SSL write failed: OpenSSL error 6: >> error:00000006:lib(0)::reason(6) >> >> It seems to be affecting only certain sites, i.e. ones I have behind >> Cloudflare with an individual LetsEncrypt certificate (not a wildcard - = but >> wildcard LetsEncrypt sites break too). >> >> I ran openssl s_client -connect and everything appears to be in order. >> When I set up sms-service keywords to fetch Google, or the BBC News >> website, everything works. >> >> Does anyone have any ideas what might be causing this? Running kannel in >> a docker container with debian:bookworm-slim as the base image. >> >> Thanks >> Alex >> >> >> >> >> >> --000000000000ad85460618e24e23 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Mesbah<div><br></div><div>Thanks for the reply. I'm= not sure what ssl rule I should be looking at in Kannel? It works fine whe= n I make a request to an AWS Lambda URL and other websites=C2=A0but not Clo= udflare with a LetsEncrypt certificate.</div><div><br></div><div>Kind regar= ds</div><div>Alex</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr= " class=3D"gmail_attr">On Sat, 18 May 2024 at 12:15, Mesbahuddin Malik <= <a href=3D"mailto:[email protected]">[email protected]</a>> wr= ote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px= 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D= "ltr">check kannel ssl rule.<div><br></div><div>regards</div><div>Mesbah</d= iv></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_att= r">On Fri, May 17, 2024 at 9:33=E2=80=AFPM Alex Kinch <<a href=3D"mailto= :[email protected]" target=3D"_blank">[email protected]</a>> wrote:<br= ></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;= border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">H= i all,<div><br></div><div>I'm having odd problems when making an https = request in an smsbox service (on latest compiled release from SVN and also = Debian packages), I get back:</div><div><br></div><div>2024-05-17 15:14:25 = [24] [9] ERROR: SSL write failed: OpenSSL error 1: error:00000001:lib(0)::r= eason(1)<br>2024-05-17 15:14:25 [24] [9] ERROR: SSL error:0A000410:SSL rout= ines::sslv3 alert handshake failure<br>2024-05-17 15:14:25 [24] [9] ERROR: = SSL write failed: OpenSSL error 6: error:00000006:lib(0)::reason(6)<br></di= v><div><br></div><div>It seems to be affecting only certain sites, i.e. one= s I have behind Cloudflare with an individual LetsEncrypt certificate (not = a wildcard - but wildcard LetsEncrypt sites break too).</div><div><br></div= ><div>I ran=C2=A0openssl s_client -connect and everything appears to be in = order. When I set up sms-service keywords to fetch Google, or the BBC News = website, everything works.</div><div><br></div><div>Does anyone have any id= eas what might be causing this? Running kannel in a docker container with d= ebian:bookworm-slim as the base image.=C2=A0</div><div><br></div><div>Thank= s</div><div>Alex</div><div><br></div><div><br></div><div><br></div><div><br= ></div><div><br></div></div> </blockquote></div> </blockquote></div> --000000000000ad85460618e24e23--