SSL handshake failure on smsbox service call to various https URLs
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:0001: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:0006: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
Re: SSL handshake failure on smsbox service call to various https URLs
check kannel ssl rule. regards Mesbah On Fri, May 17, 2024 at 9:33 PM Alex Kinch wrote: > 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:0001: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:0006: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 > > > > > >
Re: SSL handshake failure on smsbox service call to various https URLs
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 wrote: > check kannel ssl rule. > > regards > Mesbah > > On Fri, May 17, 2024 at 9:33 PM Alex Kinch wrote: > >> 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:0001: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:0006: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 >> >> >> >> >> >>