LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 12:06 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
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, 12: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 12:43 AM.
 
Old 10-24-2009, 12:47 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

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 01:12 AM.
 
Old 10-24-2009, 02:06 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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

Original Poster
Blog Entries: 6

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, 02:57 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
There should be a document on ssl integration with httpd in /var/www/manual/ssl.
 
Old 10-25-2009, 12: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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