Forum Discussion

carter91_13591's avatar
carter91_13591
Icon for Nimbostratus rankNimbostratus
Feb 26, 2010

SSL over port 8080

I have a web server that has two sites running on it. One on port 80, and the other on port 8080.

 

 

I have a 3 virtual servers created on the F5. One for port 80, one for port 8080, and another for 443.

 

 

On the one for port 80, I have an iRule attached, so when somebody types in http://servername.domain.com it redirects it automatically to https://servername.domain.com

 

 

It works quite well.

 

 

I need to get SSL working for the one on port 8080, and can't seem to figure it out. I tried using my originally iRule that just does a redirect to https: like I have for the site on port 80, and it didn't work. I created a 2nd iRule and just manually typed in the URL I wanted it to direct it to instead of the host value (https://servername.domain.com:8080)which didn't work either.

 

 

I can't seem to get the site running on port 8080 to work with SSL.

 

 

Any hints?

 

 

Just using the standard iRules for http to https redirects:

 

 

when HTTP_REQUEST {

 

HTTP::redirect https://[HTTP::host]

 

}

 

 

 

Also tried:

 

when HTTP_REQUEST {

 

HTTP::redirect https://servername.domain.com:8080

 

}

 

12 Replies