Acquire and install certs on reverse proxy server configuration

If you have several virtual hosts you may easily put the ProxyPass, ProxyPassReverse and Location directives into the definition of the virtual host that you want to request a cert for.
Actually it’s just copying the whole block not into /etc/apache2/mods-enabled/proxy.conf but into your VirtualHost directive, right?