We had to create a dockerfile that will use self-signed certificates with OpenSSL and do the followings.
- Create vHost files for
site1.internal
,site2.internal
,site3.internal
. - Turn on SSLEngine and add RewriteRule to force
https://site1.internal
as well as a new Block for 443 traffic. - Create an HTML file for serving.
- Install Apache2 and other necessary modules
- Enable necessary modules
- Create self-signed certificates