Was troubleshooting something and thought switching from http 1.1 to http2 would solve the specific problem. It didn't, but It might still be useful for someone else to be able to serve content as http2 when using https. We have been using .pfx files as our certificates, and most documentation of Tomcat stuff is always about pem and chain files. The Tomcat documentation is not as good as I had wished, and there is no proper testing command for Tomcat that I know of (like nginx -T).
So after some trial and error, this is how we combined .pfx certificates and http2 configuration:
