Anyone familiar with JProxy or Apache may be able to help with this issue.

We us JProxy to establish an https tunnel through Apache to our application

The trouble arises because our customer uses a different hostname inside
their firewall than they use externally so they're using the virtual hosts
feature of Apache to do the name translation to the internal host name.
While this works with a straight access to the app server and via an unencrypted
client session, it doesn't work using JProxy to establish an encrypted session.

Thanks in advance for your help