SSL handshake failure on smsbox service call to various https URLs

Alex Kinch <[email protected]> Fri, 17 May 2024 16:32:22 +0100
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CAByD3_uTXRHAEhGJJs7sxmZ6NVnhCPhEE54ViOo0fTC6t0egQQ@mail.gmail.com>
--0000000000007896b60618a80fad
Content-Type: text/plain; charset="UTF-8"

Hi all,

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:

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

--0000000000007896b60618a80fad
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi all,<div><br></div><div>I&#39;m having odd problems whe=
n 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>20=
24-05-17 15:14:25 [24] [9] ERROR: SSL write failed: OpenSSL error 1: error:=
00000001:lib(0)::reason(1)<br>2024-05-17 15:14:25 [24] [9] ERROR: SSL error=
:0A000410:SSL routines::sslv3 alert handshake failure<br>2024-05-17 15:14:2=
5 [24] [9] ERROR: SSL write failed: OpenSSL error 6: error:00000006:lib(0):=
:reason(6)<br></div><div><br></div><div>It seems to be affecting only certa=
in sites, i.e. ones 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 ideas what might be causing this? Running kannel in a docke=
r container with debian:bookworm-slim as the base image.=C2=A0</div><div><b=
r></div><div>Thanks</div><div>Alex</div><div><br></div><div><br></div><div>=
<br></div><div><br></div><div><br></div></div>

--0000000000007896b60618a80fad--