On the Ubuntu Linux distribution, OpenSSL is usually already available. However, it can be installed using the following command:
$ sudo apt-get install openssl
Examples in this chapter have been developed using OpenSSL version 1.0.2g.
It is available at https://packages.ubuntu.com/xenial/openssl.
You are encouraged to use this specific version, as all examples in the chapter have been developed and tested with it. The OpenSSL version can be checked using the following command:
$ openssl version
You will see the following output:
OpenSSL 1.0.2g 1 Mar 2016
Now, you are all set to run the examples provided in this chapter. If you are running a version other than 1.0.2g, the examples may still work but that is not guaranteed, as older versions lack the features used in the examples and newer versions may not be backward compatible with...