-
-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
kind/dependencyIssues related to dependenciesIssues related to dependencieskind/extensionIssues related to extensionsIssues related to extensionsnew featureNew feature or requestNew feature or request
Description
The Kafka SASL_SSL authentication method is not available or working, even though the openssl extension is enabled: Unsupported value \"SASL_SSL\" for configuration property \"security.protocol\": OpenSSL not available at build time.
When running the command: php -r "echo (new RdKafka\Conf())->dump()['builtin.features'];" it's possible to see that the ssl option is not available.
I tried to force openssl through the --with-libs option, but it still didn't work, for example: bin/spc build --build-cli "openssl,rdkafka,zlib" --with-libs="openssl,librdkafka"
php -m Output:
[PHP Modules]
amqp
apcu
ast
bcmath
brotli
calendar
Core
ctype
curl
date
dom
ds
exif
FFI
fileinfo
filter
gd
gettext
hash
iconv
igbinary
imagick
inotify
intl
json
ldap
libxml
mbstring
memcache
memcached
mongodb
msgpack
mysqli
mysqlnd
oneagentphp
openssl
opentelemetry
pcntl
pcre
PDO
pdo_mysql
pgsql
Phar
posix
random
rdkafka
readline
redis
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
swoole
tokenizer
xlswriter
xml
xmlreader
xmlwriter
xsl
yaml
Zend OPcache
zip
zlib
zstd
[Zend Modules]
Zend OPcache
php -i | grep ssl Output:
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
openssl
Openssl default config => /etc/ssl/openssl.cnf
openssl.cafile => no value => no value
openssl.capath => no value => no value
openssl => OpenSSL 3.6.0 1 Oct 2025
SSL_CERT_FILE => /etc/ssl/certs/ca-certificates.crt
$_SERVER['SSL_CERT_FILE'] => /etc/ssl/certs/ca-certificates.crt
$_ENV['SSL_CERT_FILE'] => /etc/ssl/certs/ca-certificates.crt
Metadata
Metadata
Assignees
Labels
kind/dependencyIssues related to dependenciesIssues related to dependencieskind/extensionIssues related to extensionsIssues related to extensionsnew featureNew feature or requestNew feature or request