Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John Bates 2 posts 22 karma points
    Apr 19, 2013 @ 16:05
    John Bates
    0

    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

    @using (Html.BeginUmbracoForm(RouteConstants.ACN_SEND_MESSAGE, RouteConstants.CTL_CONTACT_US))

    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

  • Tim 67 posts 90 karma points
    Oct 17, 2017 @ 10:02
    Tim
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft