Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Apaceh2 with SSL and multiple virtual host

Apaceh2 with SSL and multiple virtual host

2004-03-26       - By Mobeen Azhar

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Reuben, are you sure about that? Try intentionally mangling the line
(for example change the SSLCertificateFile to SSLBadCertificateFile) and
then restart Apache. Make sure Apache fails then. This will ensure
that it is indeed reading that line.

Also, make sure Apache is being started with the -D SSL parameter.

--Moby

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin

First they came for the Jews and I did not speak out because I was not a Jew.
Then they came for the Communists and I did not speak out because I was not a Communist.
Then they came for the trade unionists and I did not speak out because I was not a trade unionist.
Then they came for me and there was no one left to speak out for me. -- Pastor Martin Niem�ller



Reuben D. Budiardja wrote:

>On Friday 26 March 2004 12:52 pm, Mobeen Azhar wrote:
>
>
> >The most commong cause, IMHO, of the error you are seeing Reuben is that
> >nowhere in the plethora of .conf files for apache2 do you have an entry
> >telling apache which SSL server certificate to use. Make sure that
> >somewhere in your effective .conf files, you have an entry like below:
> >
> >SSLCertificateFile <full path and name of your server certificate file >
> >
> >
>
>I 've verified this and it does point to the correct file.
>
>RDB
>
>
>
>
> >Reuben D. Budiardja wrote:
> >
> >
> > >Hi all,
> > >I am trying to set up Apache to work with SSL (https://...). I have
> > >apache2 and all the necessary packages from RHEL 3 distro.
> > >I followed the instruction here step by step to create the key,
> > >self-signed certificate, etc:
> > >https://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guid
> > >e/s1-secureserver-accessingserver.html
> > >
> > >The server started without any problem, but when I tried to use
> > >https://www.mydomain1.com
> > >
> > >my mozilla browser gives me :
> > > "The connection to www.mydomain1.com has terminated unexpectedly. Some
> > >data may have been transferred. "
> > >
> > >and on the server error_log:
> > >Invalid method in request !g!!
> > >
> > >I googled for that and tried everything that I found, and still did not
> > >work. My setup is the following, i have 3 domain that points to this
> > >server, let 's just call them:
> > >www.mydomain1.com
> > >www.mydomain2.com
> > >www.mydomain3.com
> > >
> > >So I set up VirtualHost in /etc/httpd/conf/httpd.conf for each of them.
> > >Now, I only want www.mydomain3.com to be served securely as
> > >https://www.mydomain3.com, while the other 2 just use the plain HTTP.
> > >
> > >Is this possible at all ? Also, I want any request to
> > > http://www.mydomain3.com be automatically redirected to the corresponding
> > >https address.
> > >
> > >Another thing that I tried, is I copy the VirtualHost _default_ definition
> > >in ssl.conf file, then replace it with the virtualhost info for
> > >mydomain3.com. When I did that, https://www.mydomain3.com works, but
> > >trying to access: http://www.mydomain2.com gives:
> > >
> > >BAD REQUEST
> > >Your browser sent a request that this server could not understand. Reason:
> > >You 're speaking plain HTTP to an SSL-enabled server port. Instead use the
> > >HTTPS scheme to access this URL, please.
> > >Hint: https://www.mydomain3.com
> > >
> > >So I 'm utterly confused. Any help will be greatly appreciated.
> > >
> > >Thanks
> > >RDB
> > >
> > >
>
>
>


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list