How do I find the version number of OpenSSL being used by HAProxy?



  • How do I find the version number of OpenSSL being used by HAProxy?



  • I ran/usr/bin/openssl versionunder Diagnostics -> Command Prompt, and got```
    OpenSSL 1.0.1s-freebsd


  • LAYER 8 Global Moderator

    yes it would be safe to assume that it would use the openssl that is installed.


  • Rebel Alliance Developer Netgate

    If you want to confirm that definitively, then you can always check which library versions both haproxy and the openssl command you run link against, such as:

    [2.4.0-BETA][root@master.dw.example.com]/var/etc: ldd `which haproxy`
    /usr/local/sbin/haproxy:
    	libcrypt.so.5 => /lib/libcrypt.so.5 (0x800995000)
    	libz.so.6 => /lib/libz.so.6 (0x800bb4000)
    	libssl.so.8 => /usr/lib/libssl.so.8 (0x800dcb000)
    	libcrypto.so.8 => /lib/libcrypto.so.8 (0x801200000)
    	liblua-5.3.so => /usr/local/lib/liblua-5.3.so (0x80166d000)
    	libm.so.5 => /lib/libm.so.5 (0x8018a8000)
    	libc.so.7 => /lib/libc.so.7 (0x801ad3000)
    	libthr.so.3 => /lib/libthr.so.3 (0x801e6f000)
    [2.4.0-BETA][root@master.dw.example.com]/var/etc: ldd `which openssl`
    /usr/bin/openssl:
    	libssl.so.8 => /usr/lib/libssl.so.8 (0x8008a2000)
    	libcrypto.so.8 => /lib/libcrypto.so.8 (0x800c00000)
    	libc.so.7 => /lib/libc.so.7 (0x80106d000)
    [2.4.0-BETA][root@master.dw.example.com]/var/etc: openssl version
    OpenSSL 1.0.2k-freebsd  26 Jan 2017
    
    

Log in to reply