Fix permissions in the DB Dockerfile and add mod_ssl to the Console Dockerfile.
(cherry picked from commit 689a867f3b)
689a867f3b
(cherry picked from commit efa9105386)
efa9105386