Skip to content. | Skip to navigation

Sections
Personal tools

6. Apache

6. Apache

the currently installed version: apache+mod_ssl-1.3.28+2.8.15 The Apache 1.3 (/usr/ports/www/apache13-modssl)

6.1. installing a certificate (for https)

goto /usr/ports/www/apache13-modssl and issue a make certificate TYPE=custom and then make install

if you haven't deleted the existing ssl.??? directories in /usr/local/etc/apache/ you will have to do that now and to install the newly created certificates do a cp -R /usr/ports/www/apache13-modssl/work/apache_1.3.28/conf/ssl* /usr/local/etc/apache/

It is advisable to generate new certs for each VirtualHost as this avoids trouble, should they move to another machine at some time. For this reason I've created a certs directory inside /usr/local/etc/apache/ with subdirectories for each site/cert.

Outdated Information
Please note that most of the information contained in this section is several years old and while most of it is still useful, hardly none of it applies directly to current versions of the software discussed. Proceed with caution, your mileage may vary etc. pp. ;-)