Set up a secure virtual host in Apache

December 22nd, 2008 by Elliot Isaacson in

Your rating: None Average: 4.2 (54 votes)

Setting up an https server in Apache is easy. This tutorial covers how to create and sign your ssl certificate as well as how to configure the web server.


__________________________


Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mpcoc's picture

Receive a free digital copy

On February 15th, 2009 mpcoc (not verified) says:

Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

mpcoc

Anonymous's picture

Hello I am trying to make

On February 15th, 2009 Anonymous (not verified) says:

Hello

I am trying to make Appache in secure mode but it is showing httpd service failed.

Anonymous's picture

No, your mouse must be

On January 22nd, 2009 Anonymous (not verified) says:

No, your mouse must be broken.

Maverick's picture

This really helped I too have something adding to this

On January 7th, 2009 Maverick (not verified) says:

http://dhootankur.wordpress.com/2009/01/07/setting-up-ssl-or-secure-apache-2-server/

Visit this and tell me whats's your opinion...

Rick Malone's picture

Great tutorial!

On January 4th, 2009 Rick Malone (not verified) says:

I was wondering if you could also add a video on how to use password authentication with apache (.htaccess/.htpasswd or another method). I've had trouble with this in the past and I am sure others would find this useful as well.
Thanks
Rick

Sarat Kumar Yadav's picture

Appache showing httpd failed in secure mode

On December 27th, 2008 Sarat Kumar Yadav (not verified) says:

Hello

I am trying to make Appache in secure mode but it is showing httpd service failed.

Elliot Isaacson's picture

Transcript

On December 23rd, 2008 Elliot Isaacson says:

Not sure why I forgot to link to the transcript this time... here it is:

http://dark-code.bulix.org/2l5cdw-69332?raw

Anonymous's picture

what?

On December 22nd, 2008 Anonymous (not verified) says:

can't copy+paste the intructions? something wrong with my firefox?

Anonymous's picture

about Copy-n-Paste comments

On January 25th, 2009 Anonymous (not verified) says:

You can't copy-paste from a video :)
Load up the transcript and copy-n-paste from there

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Tech Tip Videos

From the Magazine

July 2009, #183

News Flash: Linux Kernel 3.0 to include an on-the-go Expresso machine interface! Ok, maybe not, but Linux is definitely going mobile, from phones to e-readers. Find out more inside about Android, the Kindle 2, the Western Digital MyBook II, The Bug, and Indamixx (a portable recording studio). And if you've gone mobile and you been wanting more Emacs in your life then check out Conkeror.


To compliment the mobile we've got the stationary: parsing command line options with getopt, checking your Ruby code with metric_fu, and building a secure Squid proxy. How is this stationary you ask? What can we say? It's not. We just wanted to see if anybody actually read this part of the page :) .


All this and more, and all you have to do is get your hot sweaty hands on the latest copy of Linux Journal.





Read this issue