Normally when installing software on Gentoo Linux the emerge application is used to directly install the required packages. As SSL or TLS support in most packages is optional simply installing the dev-libs/openssl package would not be sufficient to enable these features. Instead we would first need to modify the use-flags, for either the package we wish to support SSL or TLS or the global use-flags if we wish to enable SSL or TLS for all installed packages, and then use the emerge application to rebuild the necessary packages. Thankfully the ssl and tls use-flags are enabled by default so unless you have specifically removed them there should be no need to make any configuration changes.