Contents:
To use SSL encryption with Apache 1.3, install port /usr/ports/www/apache13-modssl, as described in Apache with SSL.
See also Setting Up a Secure Server.
For Ubuntu, follow the instructions in Apache2 SSL in Ubuntu
Further reading: