Welcome to FreeSoftwareServers Confluence Wiki

Make sure to add port forward for 443!

RUN sed -i \
        -e 's/^#\(Include .*httpd-ssl.conf\)/\1/' \
        -e 's/^#\(LoadModule .*mod_ssl.so\)/\1/' \
        -e 's/^#\(LoadModule .*mod_socache_shmcb.so\)/\1/' \
        httpd.conf

I made a virtualhost, but I don't think its working because I had to rename my letsencript files from pem to key/crt.

<VirtualHost *:443>
    ServerName odev.freesoftwareservers.com
    ServerAlias odev.freesoftwareservers.com
    DocumentRoot /usr/local/apache2/htdocs/
    Options Indexes
SSLEngine on
SSLCertificateChainFile  /usr/local/apache2/conf/fullchain.pem
SSLCertificateKeyFile    /usr/local/apache2/conf/privkey.pem
SSLCertificateFile       /usr/local/apache2/conf/cert.pem
</VirtualHost>

placed inside conf directory (not pretty, but its fine for now, will improve later maybe)

server.crt  server.key
  • No labels