tomcat7 - Liferay Web Form recaptcha issue on SSL reverse proxied site -
our installation of liferay tomcat 6.2 ee bundle behind apache httpd reverse proxy server ssl terminating @ load balancer. not have ssl configuration on tomcat 7 , not using ajp.
we ran issue using web form portlet recaptcha on default site using ssl. recaptcha image not rendered on web form after configuring recaptcha in control panel , configuring web form use recaptcha.
recaptcha worked on http liferay 6.2 ee installation , site without issue.
there errors in console in firefox , chrome: blocked loading mixed active content "http://www.google.com/recaptcha/api/challenge?k=asabsds50"[learn more]
the recaptcha call seemed made using http not https.
thanks!
liferay needs have tomcat configured in server.xml specify redirectport same port tomcat listening on ex. 8080 , adding secure flag set true. restart tomcat , test.
apache reverse proxy in our case points port. configuration worked. recaptcha renders , web forms submits successfully.
<connector port="listeningport" protocol="http/1.1" connectiontimeout="20000" secure="true" redirectport="listeningport" uriencoding="utf-8" />
the old server.xml config was
<connector port="listeningport" protocol="http/1.1" connectiontimeout="20000" redirectport="8443" uriencoding="utf-8" />
hope helps
Comments
Post a Comment