If you have the evaluation version of Connext DDS: OpenSSL is installed automatically with the evaluation bundle. The following instructions are only for non-evaluation users.
RTI provides:
$ cd /local/rti
$ unzip openssl-1.1.1d-target-armv7aQNX6.6.0qcc_cpp4.7.3.tar.gz
Note: If unzip does not work, you may need GNU's version, gunzip.
$ tar xvf openssl-1.1.1d-target-armv7aQNX6.6.0qcc_cpp4.7.3.tar
This will extract files into /local/rti/openssl-1.1.1d.
Note: If unzip and tar do not work on your system, you may need GNU's version, gunzip and gtar (which handles long file names).
$ export PATH=
/local/rti/openssl-1.1.1d/armv7aQNX6.6.0qcc_cpp4.7.3/release/bin:${PATH}
$ export LD_LIBRARY_PATH=
/local/rti/openssl-1.1.1d/armv7aQNX6.6.0qcc_cpp4.7.3/release/lib:$LD_LIBRARY_PATH
$ openssl version
You should see a response similar to:
OpenSSL 1.1.1d
If you get a version other than OpenSSL 1.1.1d, your PATH may be pointing with a higher precedence to a different version of OpenSSL. You may need to place version 1.1.1d first or earlier in your PATH.
Note: When running the openssl version command, you may run into this OpenSSL warning:
WARNING: can't open config file: [default openssl built-in path]/openssl.cnf
To resolve this issue, set the environment variable OPENSSL_CONF to the path to the openssl.cnf file you are using. For example (enter this all on one line):
$ export OPENSSL_CONF=
/home/<your user name>/rti_workspace/6.0.1/examples/dds_security/cert/openssl.cnf
c:\rti\openssl-1.1.1d\<target architecture>\release\bin
(If you need help with this process, please see RTI Connext DDS Core Libraries Getting Started Guide.)
> openssl version
You should see a response similar to:
OpenSSL 1.1.1d
If you get a version other than OpenSSL 1.1.1d, your PATH may be pointing with a higher precedence to a different version of OpenSSL. You may need to place version 1.1.1d first or earlier in your path.
Note: When running the above command, you may run into this OpenSSL warning:
WARNING: can't open config file: [default openssl built-in path]/openssl.cnf
To resolve this issue, set the environment variable OPENSSL_CONF to the path to the openssl.cnf file you are using. For example (enter this all on one line):
> set OPENSSL_CONF=c:\Users\<your user name>\Documents\rti_workspace\6.0.1\examples\dds_security\cert\openssl.cnf
© 2020 RTI