Re: Problem with SSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junaid Arshad wrote:
Hi,

Yes, I have OpenSSL installed and also have .key and .crt  files at
the correct place. I am not an administrator on this machine and only
have root privileges on apache tree so don't exactly know if apache
was installed with --enable-ssl option. I used "httpd -l" to get a
list of compiled modules and it DOES NOT show mod_ssl.so. Does this
mean that apache was not compiled with mod_ssl???
Yup, Apache needs to be re-compiled using --enable-ssl and you'll need the path to the openssl stuff.
To specify the SSL configuration, I use <IfModule mod_ssl> rather than
<IfDefine SSL> which allows to me use ./apachectl startssl rather than
to specify -DSSL flag...

startssl is old, you should be using -DSSL
I looked at the error logs and found that, I have the following error
"Invalid method in request \x80=\x01\x03". After this I also checked
my ssl.conf and found that I do have "SSLEngine on" in the virtual
host but  My guess is that there is some problem with SSLEngine which
causes https requests to be dealt by http causing an error....

That error happens when Apache isn't running with the SSL. When you type in HTTPS you're making an invalid request method.
Your thoughts on this please...:-)

cheers

junaid

OK the big questions. Do you have OpenSSL installed? Did you compile
Apache with mod_ssl? Do you have the .key and .crt files in the correct
place on the server? Did you start apache with the -DSSL flag?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux