The problem I have is that the SSL certificate is installed on the load balancer and not the server. Traffic is secured from the client to load balancer (https) and then forwarded to the web server internally (http). So although the page itself is requested by https the form tag generated by the helper in the response uses http which causes issues with jquery and would also mean that form data will be sent unencrypted.
Form tag generated by helper: <form action="http://dev.mydomain.co.uk/get-in-touch/" enctype="multipart/form-data" method="post">
All works ok when I deploy to local IIS using self signed certificates. I did consider writing the form tag myself but would need a way of generating the route vals hidden field...
SSL with load balancer and Umbraco 4.11.1 MVC
Hi,
I am using the BeginUmbracoForm html helper method with MVC suface controllers in version 4.11.1
The problem I have is that the SSL certificate is installed on the load balancer and not the server. Traffic is secured from the client to load balancer (https) and then forwarded to the web server internally (http). So although the page itself is requested by https the form tag generated by the helper in the response uses http which causes issues with jquery and would also mean that form data will be sent unencrypted.
Example page url in browser: https://dev.mydomain.co.uk/get-in-touch/
Form tag generated by helper: <form action="http://dev.mydomain.co.uk/get-in-touch/" enctype="multipart/form-data" method="post">
All works ok when I deploy to local IIS using self signed certificates. I did consider writing the form tag myself but would need a way of generating the route vals hidden field...
<input name="uformpostroutevals" type="hidden" value="Yz1Db250YWN0VXNTdXJmYWNlJmE9U2VuZE1lc3NhZ2UmYXI9dW1icmFjbw==">
Any of you experts come across the same issue? Any help much appreciated
John
Did you manage to resolve this John?
We have a similar problem where all the urls are prefixed with http instead of https. Our SSL cert if also applied to the load balancer.
thanks
Tim
is working on a reply...