LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-13-2003, 11:09 AM   #1
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
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.
 
Old 10-13-2003, 02:28 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
A few things - make sure your firewall isn;t blocking port 143:
iptables -L

and that apache is listening to that port:
netstat -nlp
 
Old 10-14-2003, 11:29 AM   #3
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Smile 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...
 
Old 10-14-2003, 01:20 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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
 
Old 10-17-2003, 12:49 PM   #5
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Talking

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??
 
Old 10-18-2003, 08:01 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
So the site fails wen you access:
https://www.mysite.com/

What error message do you get?
 
Old 10-18-2003, 11:28 AM   #7
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
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.
 
Old 10-18-2003, 11:46 AM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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.
.
 
Old 10-18-2003, 12:24 PM   #9
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Talking 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.
 
Old 10-18-2003, 12:36 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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.
 
Old 10-18-2003, 01:50 PM   #11
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem accessing https website jagroop mand Linux - Enterprise 1 06-22-2005 10:30 AM
Squid problem with https connections thermoponch Linux - Networking 0 11-03-2004 05:41 AM
Problem with https connections - iptables Suse9.0 mschna Linux - Networking 2 02-12-2004 02:54 AM
Mozilla 1.4 HTTPS SSL Tunnel Proxy Problem Ynog Linux - Software 0 07-30-2003 10:19 PM
Problem with https kired Linux - Newbie 2 03-23-2003 03:57 PM


All times are GMT -5. The time now is 01:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration