Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-21-2011, 04:37 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 8

Rep: Reputation: 0
Question Is it more secure to use SSL for connecing to localhost?

Well, my question is quite simple. When you are connecting with any protocol between two different machines (client and server), it is more secure to encrypt the connection through a SSL tunnel, to prevent anybody from seeing what you are sending.

But I wonder if there is any security concern in connecting to localhost without encryption. For example, when you have a web server with a php webmail app, and the mail server is the same machine: then you are connecting to localhost via IMAP and SMTP.
Is it better to use SSL in such a situation, or it is not necessary at all?
Old 07-21-2011, 05:26 AM   #2
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,451
Blog Entries: 23

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
Hmm, no it's not needed, because you use the loopback ( and in essence never really "leave" the machine...

I'd call the use of SSL for that overkill...unless, perhaps, there is an other "party" on the machine (other users, software, stuff) but...hmm, I dunnow...



security, ssl, webmail

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
secure server with ssl deco5003 Linux - Server 4 04-12-2010 06:39 PM
How secure is SSL? abefroman Linux - Security 19 04-27-2009 06:21 AM
How do I secure sendmail to only send email from php on localhost jmille34 Linux - Security 1 08-22-2006 07:51 PM
Secure email (SSL vs. secure authentication) jrdioko Linux - Newbie 2 11-28-2004 01:39 PM
problem with SSL - cannot connect localhost klaus_m Linux - Security 1 04-03-2004 12:47 AM

All times are GMT -5. The time now is 02:55 PM.

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