OpenSSL is a general purpose cryptographic library that also implements the Secure Sockets Layer (SSL) protocols. This is the component that does all the cryptographic work for OpenSSH.
The OpenSSL library contains patented cryptographic algorithms; however, OpenSSH does not use them. The README file lists the patents that might apply. Consult your legal counsel as to whether this is an issue.
The config script attempts to build a library optimized for the specific build machine. This is not distributable or portable, particularly if the build machine is not identical to the intended target machines. Instead, use the Configure Perl script to build a more general library. In selecting the designated support, choose the lowest common denominator platform.
TABLE 3 OpenSSL Configure Architecture Designations
Forte C Compiler
GNU C Compiler
sun4c, sun4d, sun4m, sun4u
sun4d, sun4m, sun4u
Avoid all of the designations in the following list.
Designations that start with debug, for example debug-solaris-sparcv8-gcc
This will cause performance problems because it is meant only for debugging problems with the library.
solaris64-sparcv9-gcc31 or solaris64-sparcv9-cc
These designations will not link with the 32-bit Zlib and OpenSSH components.
This compiler is not supported on the Solaris 2.6, 7, 8, or 9 OE releases.
To Build and Test OpenSSL
Change directories to the openssl-x.x.x directory.
Run the Configure script with the appropriate designation.
$ ./Configure designation
Use the make(1S) command to build and test the OpenSSL software.
$ make $ make test
To Install OpenSSL
Become the superuser.
Add /usr/ccs/bin to the $PATH variable, and export the variable.
# PATH=/usr/ccs/bin:$PATH # export PATH
Use the make(1S) command to install the software.
# make install