LinuxQuestions.org
Visit Jeremy's Blog.
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 04-19-2007, 11:32 PM   #1
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105

Rep: Reputation: 15
apache1.3+mod_ssl on Ubuntu Server


I'm using Ubuntu Dapper. So when I say I've installed something, I've done so using "apt-get install "

I'm having problems getting Apache1.3 working with mod_ssl.
I've installed Apache1.3, and it's working fine.

Then I've installed libapache-mod-ssl.

I've created keys:
openssl genrsa -out hostname.key 1024
openssl req -new -key hostname.key -out hostname.csr
openssl x509 -req -days 365 -in hostname.csr -signkey hostname.key -out hostname.crt

Now I've modified /etc/apache/httpd.conf:
#port 80
port 443
#listen 80
listen 443

And I've added the lines:
SSLCertificateFile /etc/apache/ssl/hostname.crt
SSLCertificateKeyFile /etc/apache/ssl/hostname.key


Then restart apache:
/etc/init.d/apache restart

Now when I try to goto my server with a webbrowser I get the following error:
192.168.0.101 has sent an incorrect or unexpected message. Error Code: -12263

Does anybody have any ideas as to what I'm doing wrong?
Thanks.
 
Old 04-20-2007, 02:30 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
maybe you get thsi because there is no server listening on the default port or did you direct your browser to
myServer.com:443

You could set up a virtual host in httpd conf that listens to 443 and leave port 80 as it was before the changes.
Probably there are more verbose messages in the error_log about what went wrong.

cheers, j
 
  


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
Apache1.3 and php5 squeaks_27 Linux - Networking 4 06-17-2005 09:36 PM
apache1. or apache2 merlin23 Linux - Networking 1 12-01-2004 11:58 AM
Why use Apache1.3 - What can't Apache2 do? davee Linux - Software 2 11-12-2003 11:42 AM
Apache1.3.28 On Rh9! calissal Linux - Software 1 09-10-2003 09:57 AM
Apache (mod_ssl) causes server to die because of missing DSA certificate BxBoy Linux - Software 1 08-18-2003 01:08 PM

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

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