Enable OpenSSL support with autotools

Index > Community > FAQ > Building FAQs > OpenSSL Support > Enable OpenSSL support with autotools

When you build the ActiveMQ-CPP library using the GNU AutoTools the Configure script will automatically search for OpenSSL on your system and enable support for it in the code if its found. The search might fail if you have installed OpenSSL in a non-standard location in which case you can tell the configure script where to look using the with-openssl option, see below for an example.

./configure --with-openssl=/opt/special/openssl

Apache, ActiveMQ, Apache ActiveMQ, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2025, The Apache Software Foundation. Licensed under Apache License 2.0.