I have v14 on 22.04, v13 on 22.04 and v13 on 20.0x . The 22.04 instances have wkhtmltopdf 0.12.6.1 (with patched qt), neither of which work and the Ubuntu 20 has 0.12.3 , which works. All are virtualbox vm’s. I did try http rather than https and no difference , and the addition to common_site_config.json slowed the site to a crawl.
Ah in that case you need to additionally add the IP of the VM to /etc/hosts file as well
I am also running v14 and develop in WSL… In both cases wkhtmltopdf working fine with localhost