Re: HTTPFORM not working with SSL/TLS

Дилян Палаузов <[email protected]> Thu, 25 Sep 2025 19:16:01 +0300
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
Hello,

I can answer only this question:

> How do I configure it to use SSL/TLS?

Try stunnel - https://www.stunnel.org .

Greetings // =D0=94=D0=B8=D0=BB=D1=8F=D0=BD


-----Original Message-----
From: stas.fastov via SASL <[email protected]>
Reply-To: SASL <[email protected]>
To: SASL <[email protected]>
Subject: HTTPFORM not working with SSL/TLS
Date: 25/09/25 16:51:25

Hello,

I'd like to understand whether the httpform mechanism for saslauthd=C2=A0is=
 capable to use SSL/TLS protocol.
I've built cyrus-sasl with these flags:
=C2=A0 ./configure --with-openssl --enable-httpform --with-saslauthd.
OS: Ubuntu 24.04

Then I've set=20
httpform_host: id.my.server.com
httpform_port: 443
httpform_uri: /connect/token
httpform_data: grant_type=3Dpassword&client_id=3Dmy-client&client_secret=3D=
XXX&username=3D%u&password=3D%p
httpform_require: 200,access_token
When trying to send test auth requests, I see plain HTTP request and respon=
se in tcpdump saying 400 Bad request - plain http request was sent to https=
 port.

Is httpform able to use SSL/TLS? How do I configure it to use SSL/TLS?
Cyrus / SASL / seediscussions +participants +delivery=C2=A0options
Permalink

------------------------------------------
Cyrus: SASL
Permalink: https://cyrus.topicbox.com/groups/sasl/Tef16c2888e2b2c3c-M03ed39=
b3d587b865efe14706
Delivery options: https://cyrus.topicbox.com/groups/sasl/subscription