Skip to content

error in TLS module #285

@masudmuborakshohi

Description

@masudmuborakshohi

Hello!
I enable the tls and ssl modules in the configs according to the instructions:
./configure --enable-tls --enable-ssl

Result:
captagent 6.4.1

Build directory............. :
Installation prefix......... : /usr/local/captagent
HEP Compression............. : no
IPv6 support.................: no
HEP SSL/TLS................. : yes
Flex........................ : flex
Bison....................... : bison -y

Build with REDIS............ : no
Build with MySQL............ : no
Build with PCRE............. : no
Build with LibUV............ : yes
Build with EPAN............. : no
Build with TLS.............. : yes

But here is the error: ldd /usr/local/captagent/sbin/captagent
linux-vdso.so.1 (0x00007ffe3dde0000)
libfl.so.2 => /lib/x86_64-linux-gnu/libfl.so.2 (0x00007fbdb1bc1000)
libpcap.so.0.8 => /lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007fbdb1b74000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fbdb1b45000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbdb1b3f000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbdb1b1d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbdb1948000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fbdb18f1000)
/lib64/ld-linux-x86-64.so.2 (0x00007fbdb1bef000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007fbdb183c000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fbdb1832000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fbdb180a000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007fbdb172f000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fbdb170c000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fbdb15ea000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fbdb15c4000)

And in the end I get an error in the running process:
captagent[1714128]: [ERR] protocol_tls.c:269 TLS has not been enabled. Please reconfigure captagent with param --enable-ssl and --enable-tls

OS: Debian.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions