TLS Server Failed

I setup a new VM running Ubuntu 22.04 & Asterisk 20.8.1.
I noticed that the 8089 port was not binding to adapter in netstat. Verified everything matches other systems in the http.conf
[general]
servername=Asterisk
enabled=yes
bindaddr=0.0.0.0
bindport=8088

tlsenable=yes
tlsdisablev11=yes
tlsbindaddr=0.0.0.0:8089
tlscertfile=/etc/apache2/ssl/public/2025-pubcert.pem
tlsprivatekey=/etc/apache2/ssl/private/2025-decrypted.key

Checked logs & found this entry:
[Jul 24 14:01:59] ERROR[12891] tcptls.c: TLS server failed: Asterisk is compiled without OpenSSL support. Install OpenSSL development headers and rebuild Asterisk after running ./configure

I ran through the ./configure again & came across:
checking for openssl… /usr/bin/openssl
configure: checking OPENSSL with pkg-config
configure: checking whether system openssl > 1.1.0
checking for openssl >= 1.1.0… no
configure: checking whether alternate openssl11 is installed
checking for openssl11… no
configure: checking fallback system openssl
checking for openssl… no
configure: WARNING: OpenSSL does not seem to be installed

I knew openssl was installed, but verified:
[admin@uad1:/usr/src/asterisk-20.8.1$ openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

I have two other VM’s on 22.04 but with 20.7.0. I have combed through pretty much every directory & file I can think of to verify owner & permissions. Nothing is different. The 20.7.0 systems are starting TLS properly.

checking for openssl… /usr/bin/openssl
configure: checking OPENSSL with pkg-config
configure: checking whether system openssl > 1.1.0
checking for openssl >= 1.1.0… yes

[admin@labaudio2:/usr/src/asterisk-20.7.0$ openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

At a loss on why the ./configure on this new VM does not detect openssl. I did not install any openssl development packages on other systems. Is it possible a different dependency package was missed that would have included these?

i ran back through the install_preq & ./configure again. Now it binds properly
admin@uad1:/etc/asterisk# netstat -an | grep 8089
tcp 0 0 0.0.0.0:8089 0.0.0.0:* LISTEN

Not sure what happened during initial install but i believe its resolved.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.