Forum Discussion
menzo_110968
Nimbostratus
Aug 04, 2010https virtual server terminating ssl at end servers side
Hi,
I am new in F5, I have some problem since several days in putting in place https virtual server terminating ssl at end servers (https end to end).
I have configure:
- 1 virtual server listening: https://10.0.0.1:10095
- 1 pool servers with 2 nodes
- 1 ssl client profile with certificat and key imported from end server
- no ssl server profile
When I run tests with the url: https://10.0.0.1:10095, I get the error below.
It seem that the F5 is seeing http request instead of https.
////////////////////////
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://10.0.0.1:10095/
//////////////////////
I also create an irule redirecting http to https, but it still not working.
when HTTP_REQUEST {
If it's not an HTTPS connection, send a redirect
if {not ($https)}{
HTTP::redirect https://[HTTP::host]:10095
}
}
when HTTP_RESPONSE {
if {[HTTP::is_redirect]}{
Rewrite the Location header from http to https
HTTP::header replace Location [string map -nocase {http:// https://} [HTTP::header value Location]]
}
}
Thank you for your help.
Maybe, I missed something on my configuration or a mistake.
- hoolio
Cirrostratus
Do you want to pass the SSL through unencrypted? If so, then you shouldn't add a client SSL or HTTP profile to the VS. If you want to decrypt and then re-encrypt the SSL, then you must add a client and server SSL profile to the VS. - menzo_110968
Nimbostratus
I want to decrypt and then re-encrypt the SSL. - nathe
Cirrocumulus
So if you want to decrypt and then re-encrypt you will definitely need both a client and server ssl profile setting up, as Aaron mentioned previously.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects