HTTPS problem
Hello,everyone! :)
I am building my website with login function.However,in order to enhance the data transmission security,I want the data to be encrypted throughout the transmisison with HTTPS.However,my apache server is listening to the port other than 80.And when I type https://mywebsite.com:8080,it failed!Would you guys tell me the reason? Thanks a lot. :D |
A few things - make sure your firewall isn;t blocking port 143:
iptables -L and that apache is listening to that port: netstat -nlp |
143/443?
Thanks for your reply,david_ross.I have inspected the port 443 of SSL,it is opening.On the other hand,I have opened my router's port 443 for linux server.However,everything is the same after I have made these modification....
Big question... :scratch: |
Sorry - my typo it is 443.
As well as the router - chekc you linux firewall rules - post the output of: iptables -L Like I asked above is apache listening to that port - post the output of: netstat -nlp |
First off,thanks for your reply,david_ross.
The output after I typed iptables -L... Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination The output after I typed nestat -nlp.... tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN It seems like everything is fine.But...how comes?? :scratch: |
|
No.....
My website is mysite.website.com:8080.Is there any effect on my website if my server is listening to the port rather than default 80?
Thanks. :) |
By default accessing:
http://mysite.website.com is the same as: http://mysite.website.com:80 While: https://mysite.website.com is the same as: https://mysite.website.com:443 Do you want to run a secure system and run it on port 8080? From the netstat above you can see that the secure server is running on 443 you will need to change it to 8080 if you want it to listen on that port. . |
How to???
Excuse me,david_ross,how to change my server's port and listen to 443?Basically,I mean my ISP has blocked port 80.As a consequence,I have to change my web server's port to 8080.Most importantly,I have to make it more secure so I would like to use HTTPS protocol.Do you know what I mean?
Thanks for your help. ;) |
Has your ISP blocked port 443?
You seem to have it running. So just try to access: https://ip.address.of.server The S tells your browser to use the secure port 443 If you to try it externaly use a proxy server like guardster or feel free to e-mail me your details if you don't want to post them on the board. |
Hi,
it sounds like an apache configuration problem. If you're having problems when trying to access https://localhost/ from the machine, then please post your httpd.conf file. |
All times are GMT -5. The time now is 11:25 PM. |