LinuxQuestions.org
Review your favorite Linux distribution.
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 02-12-2012, 01:59 AM   #1
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Rep: Reputation: 10
SSL on CentOS


this web page explains how to configure ssl on centos:
http://wiki.centos.org/HowTos/Https

before i read this article i configure http.conf file to listen on both 80 and 443 ports and with that configuration i could contact to my website without further configuration.i didn't even define a virtual host.how is that possible ? is this normal ?
 
Old 02-12-2012, 04:09 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
no idea what you even mean without seeing your config. Seeing as you don't mention creating your own cert are you just listening for plain text connections on 443? Not exactly useful. You don't *NEED* a virtual host to do SSL.
 
Old 02-12-2012, 04:54 AM   #3
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Original Poster
Rep: Reputation: 10
i said i didn't create certificates.just add port 443 to listen directive.but yet i can make ssl connection to the website.why is that ?
i used to try this on debian, but on debian you have to create certificates.i was wondering why it's not applied on centos!?!?!?
 
Old 02-12-2012, 09:35 AM   #4
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
I presume there are default self signed on ones them, not really "interesting" TBH, just a self signed certificate that will be referenced in the ssl.conf file.
 
Old 02-13-2012, 03:33 PM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
That's right. Presumably, CentOS handles the situation the same way as their upstream (RHEL). There are likely self-signed certs in place. Check /etc/httpd/conf.d/ssl.conf for their file locations.
 
Old 02-13-2012, 04:37 PM   #6
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Original Poster
Rep: Reputation: 10
thank you for your answers.
 
  


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
[SOLVED] CentOS 5.5 (5.6) SSL Problem baldur2630 Linux - Server 4 04-11-2011 01:55 AM
SSL config in Centos linuxguy08 Linux - Server 2 02-07-2011 01:58 PM
SSL Apache client certificate - CentOS 5 - How to install ? dlugasx Linux - Server 1 09-23-2010 10:11 AM
Installing SSL Certs on Server with Apache2 over CentOS Arty Ziff Linux - Newbie 3 01-02-2009 03:31 AM
can get vsftp 2.0.5+ssl work at centOS 4.4 sever jimmyjiang Linux - Software 4 04-13-2007 12:14 PM

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

All times are GMT -5. The time now is 04:44 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
Open Source Consulting | Domain Registration