Forum Discussion
Abdul_Ghani_Eli
Nimbostratus
Dec 13, 2006Https redirection
Hi
Can someone advise me on an issue i have regarding about Https redirection. Currently i'm using the below iRules to do it
}
rule http_redirect {
when HTTP_REQUEST {
...
Mario_Eury_6049
Nimbostratus
Dec 18, 2006you have to configure the SSL profile (client) under the VIP for that website. you can do this by either purchasing one, or using the system supplied one.
The way we use this function is by creating two VIPs, one for connections to port 80, then one to port 443. We associate our SSL certificate to the VIP with port 443. Here is how it works for us.
1) create a VIP with port 80.
a. Name www.test.com
b. IP address: 192.168.100.5
c. port 80
2) create irule to redirect. The irule you have should redirect the connection
3) Associate the irule with the www.test.com VIP
4) create a VIP with port 443
a. Name www.test.com_SSL
b. IP address: 192.168.100.5
c. port 443
4) Under configuration, SSL Profile(client), associate a system supplied SSL Certificate, or purchase a SSL certificate and load it on the LTM.
I think the reason you're getting that message is because you have no SSL certificate installed for that site. Anytime you have HTTPS traffic, you should supply a SSL Certificate for it. Being that your VIP is set to port 80, you don't want the certificate associated with that one. So you create the VIP with port 443, same IP address, to associate the SSL certificate to. Let me know if this helps
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