My application serves html pages through Apache server to user and it ssl-https enabled. These pages makes ajax request to my backend application running on tomcat container. Tomcat is not ssl enabled yet, so ajax request is being sent over http. This is creating error in user's browser that mixed content is being requested hence request is being blocked.
What do I do here? Enable tomcat with ssl? Or is there a way to send request from Apache to Tomcat without using HTTP or HTTPS as both are running on same virtual machine?