Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My Firefox have had this weird issue for months, it connects regular website just fine, but everytime when it opens a page with SSL(https://), I got an error message says it cannot connect to port 443.
Today I finally found it was because my local Apache server is listening to port 443. When I shut the apache down, Firefox finally started working.
But I am not sure I fully understand the issue here. Did the remote https server try to connect to my local 443 port? Why does it do that? Furthermore, why does my Apache listen to 443? Shouldn't it just listen to port 80?
Thats a little strange, unless you are running a local proxy I cant see any reason why apache should have any effect on firefox... the connections would look like:
yourhost:random_high_port -> remotewebsite:443
yourhost:443 shouldn't make any difference to the connection unless firefox is configured to use localhost:443 as a proxy
I can not answer the main question (the why?), but your apache seems to be configured to serve http as well as https requests.
Without knowing your distro, it will be difficult to advise how to reconfigure your apache.
This however will be a workaround and does not solve the root cause. Without knowing your setup (network wise; one or more PCs, router, ...) I think it will be difficult for anybody to advise. Can you post the exact firefox error that you get?
I am using Fedora 9. Not sure about the apache version, but it is the one comes with the original package. Firefox version is Fedora/3.0.4-1.fc9 Firefox/3.0.4
Here is the error message I got. I was trying to access chase oneline. The 2nd line is really confusing, I am very sure chase does not use Apache server. It must be referring to my local Apache:
================================
The requested URL /Secure/OSL.aspx was not found on this server.
Apache/2.2.9 (Fedora) Server at chaseonline.chase.com Port 443
================================
I think I have two questions here:
1 How do I stop Apache from listening on port 443? I don't really use SSL on my local server.
2 How does https really work? Why does the remote server need to connect to my local 443?
I think there maybe a config error in my firefox?
This is so weird. I found how to disable SSL on apache:
SSLEngine off
But even after I added that line and bounce the server(I confirmed nobody's listenning to my local 443 anymore),
https is still failing with the same error.
But, as soon as I shut off apache, https immediately start working. I don't understand.
1)
I can't help as I don't use Fedora, so don't know how the files are organised. Check the config files for one that contains 443. Next check if that file is included from the main httpd.conf; if so, put a hash in the beginning of the line that includes the ssl stuff.
2)
This is not a https issue. This is indeed a network or firefox issue. I did ask about your network setup and kbp mentioned the proxy. Have a look at that.
SSLEngine off is not the way; requests will still go to your local apache on port 443.
I'm not 100% sure but https request will still be handled by your apache if you switch the engine off but are (probably) no longer encrypted causing different errors to occur once apache has decided that it has the requested page.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.