LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-05-2009, 09:11 PM   #1
packets
Member
 
Registered: Oct 2005
Posts: 339

Rep: Reputation: 32
Install https would it suffice??


I have a webserver in my local network. I want to make it expose to the Internet probably by port forwarding in my dsl router.

I wanna run it on https (secure http). If I make it listen to port 443, would it means all transactions would be encrypted? Is there a need to modify pages on the webserver or is it enough that it was running in https without editing the webpages?

This webserver has some accounting and I don't want to compromise the machine. If worry if somebody might sniff to the transaction.
 
Old 08-06-2009, 12:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the contents of a webpage doesn't matter, no. It's possible to write a page so badly that you compromise it, e.g. by linking to documents with a full http:// url within them etc. Buit as long as you configure the certificates correctly and such then the same web pages will generally work fine over ssl.
 
Old 08-11-2009, 05:44 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
SSL gets you encryption on the wire, and (given a CA-signed cert) some level of assurance that you're really talking to who you think you're talking to.

SSL doesn't magically secure your web server configuration or your application for you.
 
Old 08-17-2009, 04:20 AM   #4
saifkhan123
Member
 
Registered: Apr 2009
Distribution: Red Hat/CentOS
Posts: 108

Rep: Reputation: 19
1st you have to assign a public ip-address to your server (which can be done by NATing)and if behind a firewall make sure that the port of the webserver which is accessible from outside should be opened from firewall for incoming traffic. Now for https, find out these lines in your httpd.conf file(if using apache)
Code:
##  SSL Support
##
##  When we also provide SSL we have to listen to the
##  standard HTTP port (see above) and to the HTTPS port
##
<IfDefine SSL>
Listen someplace.com:80
Listen someplace.com:443
</IfDefine>
port 80 references are http, port 443 references are https. Edit these
settings as appropriate for your setup. Providing those are properly set
and the cert<s> properly generated and available as stated in the configs,
then your systems should listen at the proper address/interface on the
appropriate port there for connections/services. I believe bindaddress
has been depriciated for the listen directive.
 
  


Reply



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
install https and vnc dfw123 Linux - Newbie 1 04-30-2007 03:47 PM
Can't access https sites in Firefox, fresh Ubuntu 6.10 install Gnewb Linux - Newbie 10 12-05-2006 09:07 PM
https:// wwnexc Linux - Software 3 11-05-2005 11:57 PM
https help! chidomen Linux - Newbie 5 01-17-2005 01:26 PM
https Greg21 Slackware 2 06-20-2003 10:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:44 PM.

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
Open Source Consulting | Domain Registration