LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2009, 01:06 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Setting up SSL on Fedora 11?


Anyone who can help me with setting up SSL on Fedora 11.
All I want is access my webpage through
Code:
https://localhost/pdfs
 
Old 10-24-2009, 01:34 AM   #2
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
Try here:

http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html

That gets your SSL certificates for your host. You need to configure a Virtual Host in ssl.conf.

Last edited by wfh; 10-24-2009 at 01:43 AM.
 
Old 10-24-2009, 01:47 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
It seems thats for Ubuntu..where we dont have /etc/apache file..
CAn you please recommend me some good links for Fedora 11?

All I need to setup the webpage to be browsable through:

Code:
https:// rather than http://

Last edited by your_shadow03; 10-24-2009 at 02:12 AM.
 
Old 10-24-2009, 03:06 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
http://www.fedoraforum.org/forum/showthread.php?t=32602
 
Old 10-24-2009, 03:42 AM   #5
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Chaitanya,

I was following the link till 3rd step upto:
Code:
# Remove old key & certificate
rm /etc/httpd/conf/ssl.key/server.key
rm /etc/httpd/conf/ssl.crt/server.crt

# Generate new key with an EMPTY PASSPHRASE!
# Use "cd /usr/share/ssl/certs; make genkey"
# instead if you really need a passphrase
/usr/bin/openssl genrsa 1024 > /etc/httpd/conf/ssl.key/server.key

# Set appropriate permissions
chmod go-rwx /etc/httpd/conf/ssl.key/server.key

# Now create the new certificate                  <<<  See here
cd /usr/share/ssl/certs
make testcert

# And restart Apache
/sbin/service httpd restart
I dont have ssl directory under /usr/share.
Am I missing any package?
Does Fedora 11 have this by default?
I have already installed through:

Code:
yum install openssl*
yum install mod_ssl*
 
Old 10-24-2009, 03:57 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
There should be a document on ssl integration with httpd in /var/www/manual/ssl.
 
Old 10-25-2009, 01:18 AM   #7
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
http://www.howtoforge.com/secure_web...ssl_and_apache

This is for Fedora. You will need to read it.
 
  


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
LXer: Apache and Setting Up SSL LXer Syndicated Linux News 0 10-12-2008 06:11 PM
Setting up Apache2 with SSL DragonM15 Linux - Security 2 06-02-2008 03:29 PM
Help setting up SSL blizunt7 Linux - Server 18 02-08-2008 01:27 PM
Setting Up SSL for Giganews fred57 Linux - Security 3 12-20-2006 03:20 AM


All times are GMT -5. The time now is 03:38 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