LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-16-2009, 02:23 AM   #1
own3mall
LQ Newbie
 
Registered: Aug 2009
Posts: 20

Rep: Reputation: 0
Ubuntu 9.04 Apache2 SSL Issues


I followed this guide here:

http://www.akadia.com/services/ssh_t...rtificate.html

To create a self signed ssl key and certificate.

When I try to restart Apache2, I receive the following error:

Code:
 * Restarting web server apache2                                                                            Syntax error on line 1 of /etc/apache2/conf.d/ssl.crt:
Invalid command '-----BEGIN', perhaps misspelled or defined by a module not included in the server configuration
What's causing this error?

I put the following lines in my apache2.conf:

Code:
SSLEngine on
SSLCertificateFile /etc/apache2/conf.d/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache2/conf.d/ssl.key/server.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
CustomLog logs/ssl_request_log \
   "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
What am I doing wrong?
 
Old 08-16-2009, 02:58 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
The guide you've followed is a generic one. Take a look here to see how to enable SSL support in ubuntu.

Regards

Last edited by bathory; 08-16-2009 at 03:12 AM.
 
  


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
Apache2 + ssl netpumber Debian 3 06-30-2009 11:46 AM
Apache2 SSL configuration issues - *:80 has no VirtualHosts keymaster Linux - Server 2 03-07-2009 01:59 PM
Apache2 DynDNS issues on Ubuntu 6.10 chris.raighn Linux - Networking 2 11-30-2006 03:25 PM
Apache2 + ssl blunt Slackware 4 10-31-2006 07:23 AM
apache2 - ssl : connection via ssl interrupted ldp Linux - Software 0 10-02-2005 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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