Web Hosting Talk







View Full Version : SSL port


treotan
01-06-2006, 12:04 AM
Hi! All,
I want to open the SSL port of the router for the outside. Which ports do I need to open it? (e.g. 81, 444, 27000)

And which directory is used for https? e.g. /web/cert/...

Thx

sehe
01-06-2006, 09:31 AM
https (http + ssl) runs on port 443

treotan
01-08-2006, 11:41 PM
I have a question that I opened the port 80 and 443; It can be work! But right now It shown Error HTTP 400 Bad Request when I access it by port 80 (e.g. http://mydomain.com. Then I access it by port 443 (e.g. https://mydomain.com), it will be work. Why?
How can It be automatically switch to https when I access it by port 80?

Thx

sehe
01-09-2006, 04:55 PM
you want ssl on port 80 and port 443?

treotan
01-09-2006, 10:37 PM
Yes! How to do this?

BruceT
01-10-2006, 02:54 AM
The Rewrite rule for the UI URLs (www.example.com/login/) changes the port automatically for you. Or you can directly access the https URL (see /etc/httpd/conf/httpd.conf and search for :444)

FYI, on the 550 etc., the SSL admin UI is on port 444. 443 is for the regular userspace webserver (just like 81 is the non-SSL admin UI and 80 is the userspace webserver).

sehe
01-10-2006, 02:19 PM
i would not suggest running ssl on it, only on port 443, and setup some rewrite rule to redirect all requests on port 80 (http) to port 443 (https)