On a Debian Machine Squid and Apache is running. HTTPs is enabled with Certbot (Lets Encrypt).
I have several Domains (Vhosts) and I am using one IP-Address for all Domains.
Apache is listening on Port 81 (HTTP) and 444 (HTTPS)
My squid.conf looks like this:
# Incoming Connections
http_port 80 accel
cache_peer localhost parent 81 0 no-query originserver
https_port 443 acceldefaultsite=yourwebserver vhost
cache_peer localhost parent 444 0 no-query originserver
# ACL
http_access allow all
# Allowed Ports
acl SSL_ports port 443 # https
acl Safe_ports port 80 # http
acl CONNECT method CONNECT
My Problem: Squid asks for Certificates to enable HTTPS when I start the service with the config above.
But for every Domain I use different Certificates. How can I force Squid just to redirect 443 to 444 localhost?