Pihole, apache2, docker => how to implement https (SSL) for pihole?

Hi,

after viewing the videotutorials by "Apfelcast" on youtube I am running now pihole together with nextcloud and collabora office on Ubuntu 18.04. Collabora and Nextcloud are configured as Virtual Hosts ("available sites") in apache2, lighttpd is not installed. pihole and Collabora are running as docker containers. Nextcloud and Collabora-Websites are accessable by https which is good, but not pihole. For the pihole docker container I only use the "short" commandlet

docker run -d
--name pihole
-p 53:53/tcp
-p 53:53/udp
-p 67:67/udp
-p 88:80
-p 8080:443
-e PUID=1000 -e PGID=1000
-e TZ=Europe/Berlin
-v /mnt/pihole/pihole/:/etc/pihole/
-v /mnt/pihole/dnsmasq.d/:/etc/dnsmasq.d/
-e 8.8.8.8
-e 1.1.1.1
--restart=unless-stopped
pihole/pihole:latest

But using this commandlet, the host-information is missing and so it is not possible to create a SSL certificate.

So I am interested to secure the connection to the pihole-admininterface with SSL (https). Therefore I need a sample of the apache virtual host configuration-file and the docker-command with all neccessary data. Maybe someone who got this working would post his files? This would be nice.

Any suggestions?

Thanks
:grinning:

Hello, did you find a solution for this?