Disable Asterisk Ssl How To

Home » Asterisk Users » Disable Asterisk Ssl How To
Asterisk Users 2 Comments

I am trying to install Asterisk 11 on debian 9, and although I use this parameter in the configure line: –disable-asteriskssl, it goes ahead and the compilation fails gcc -o libasteriskssl.o -c libasteriskssl.c -MD -MT libasteriskssl.o -MF
.libasteriskssl.o.d -MP -pthread -I/usr/src/asterisk/include -pipe -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DAST_MODULE=\”core\”
-DAST_IN_CORE
libasteriskssl.c:77:26: error: macro “SSL_library_init” passed 1 arguments, but takes just 0
int SSL_library_init(void)
^
libasteriskssl.c:78:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{‘ token
{
^
libasteriskssl.c:87:33: error: macro “SSL_load_error_strings” passed 1
arguments, but takes just 0
void SSL_load_error_strings(void)
^
libasteriskssl.c:88:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{‘ token
{
^
libasteriskssl.c:97:1: error: expected identifier or ‘(‘ before ‘{‘ token
{
^
libasteriskssl.c:106:1: error: expected identifier or ‘(‘ before ‘{‘ token
{
^
libasteriskssl.c:114:27: error: macro “ERR_free_strings” passed 1
arguments, but takes just 0
void ERR_free_strings(void)
^
libasteriskssl.c:115:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{‘ token
{
^
/usr/src/asterisk/Makefile.rules:143: recipe for target ‘libasteriskssl.o’
failed make[1]: *** [libasteriskssl.o] Error 1

is there a workaround? how do I disable asterisk ssl by editing some file?

2 thoughts on - Disable Asterisk Ssl How To

  • Why?

    Have you tried installing https://packages.debian.org/jessie/asterisk from Debian 8 to see if it’ll go onto Debian 9?

    Antony.


    Programming is a Dark Art, and it will always be. The programmer is fighting against the two most destructive forces in the universe:
    entropy and human stupidity. They’re not things you can always overcome with a “methodology” or on a schedule.

    – Damian Conway, Perl God

    Please reply to the list;
    please *don’t* CC me.

  • Did you install libssl-dev (Version 1.1) or libssl1.0-dev ?


    Stefan Tichy ( asterisk3 at pi4tel dot de )