Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

SSL offloading not working with X-Forwarded-Proto

Hi we are trying to SSL offload on F5 using the following iRule but it seems its not changing the header X-Forwarded-Proto

when HTTP_REQUEST {
  HTTP::header insert "X-Forwarded-Proto" "https"; 
}

We are getting the following 400 response from server

Bad Request

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

Hint: https://www.website.com/

Any idea?

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

It seems as if you're trying to talk plain, unencrypted http to an https service on the server. You should either enable a server side ssl-profile for this virtual or change the destination port of your pool members to the one that is listening for unencrypted http.

0