[opensuse] Trying OpenSuse 12.3, but Apache's httpd server only partly works
I have done the usual things to enable SSL on this virtual machine. The intent for this machine is to test ideas regarding the usage of apache's web server on Suse 12.3, and while "http://localhost/info.php" works, and in fact it tells me that mod_ssl is loaded. Perhaps I should modify that statement to read that I did the things I usually do on Windows and Ubuntu: an on those platforms, these things (ports open inthe firewall, virtual hosts created using the certificates I'd specified, ensuring that mod_ssl is loaded, &c.) were enough to get successful tests of SSL (the first of which was to use mod_rewrite to force all unencrypted requests to be made again using https - of course, this is domain/location specific). NB: These things also seemed to be sufficient on Opensuse 12.1 However, the server, when accessed using "https://localhost:443/info.php" gives me an error saying the host is unreachable. I ran /usr/bin/gensslcert to create a dummy certificate, and related files, again for testing purposes only (and using dolphin, I see the files it is supposed to create, and with the timestamp that is rational given the time I ran it. I made an ssl virtual host, and set the righ t file names for the certificates, as well as the proper document root. And I made sure that the firewall permits access both on port 80 for http and port 443 for https. Apache's error log actually tells me nothing (there are no errors in it, from the time I first installed and started httpd. Does anyone have any ideas as to why SSL may fail on this platform? Or does anyone have a checklist as to what to verify regarding apache's httpd server properly serving pages over https on opensuse 12.3? Thanks Ted -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Ted Byers wrote:
I have done the usual things to enable SSL on this virtual machine. The intent for this machine is to test ideas regarding the usage of apache's web server on Suse 12.3, and while "http://localhost/info.php" works, and in fact it tells me that mod_ssl is loaded. Perhaps I should modify that statement to read that I did the things I usually do on Windows and Ubuntu: an on those platforms, these things (ports open inthe firewall, virtual hosts created using the certificates I'd specified, ensuring that mod_ssl is loaded, &c.) were enough to get successful tests of SSL (the first of which was to use mod_rewrite to force all unencrypted requests to be made again using https - of course, this is domain/location specific). NB: These things also seemed to be sufficient on Opensuse 12.1
You would also need to amend /etc/sysconfig/apache2:APACHE_SERVER_FLAGS to include 'SSL' in the startup paramneters.
However, the server, when accessed using "https://localhost:443/info.php" gives me an error saying the host is unreachable.
It is probably not listening on port 443. You can check that with "netstat -ltn". -- Per Jessen, Zürich (1.1°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 27/03/13 23:53, Ted Byers wrote:
I have done the usual things to enable SSL on this virtual machine. The intent for this machine is to test ideas regarding the usage of apache's web server on Suse 12.3, and while "http://localhost/info.php" works, and in fact it tells me that mod_ssl is loaded. Perhaps I should modify that statement to read that I did the things I usually do on Windows and Ubuntu: an on those platforms, these things (ports open inthe firewall, virtual hosts created using the certificates I'd specified, ensuring that mod_ssl is loaded, &c.) were enough to get successful tests of SSL (the first of which was to use mod_rewrite to force all unencrypted requests to be made again using https - of course, this is domain/location specific). NB: These things also seemed to be sufficient on Opensuse 12.1
However, the server, when accessed using "https://localhost:443/info.php" gives me an error saying the host is unreachable. I ran /usr/bin/gensslcert to create a dummy certificate, and related files, again for testing purposes only (and using dolphin, I see the files it is supposed to create, and with the timestamp that is rational given the time I ran it. I made an ssl virtual host, and set the righ t file names for the certificates, as well as the proper document root. And I made sure that the firewall permits access both on port 80 for http and port 443 for https.
Apache's error log actually tells me nothing (there are no errors in it, from the time I first installed and started httpd.
Does anyone have any ideas as to why SSL may fail on this platform? Or does anyone have a checklist as to what to verify regarding apache's httpd server properly serving pages over https on opensuse 12.3?
Thanks
Ted
Ted, Did you add "SSL" to APACHE_SERVER_FLAGS in Yast->System->/etc/sysconfig? Not sure if this will help, but thought I would just mention it just in case it will. Alvin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per, Alvin,
That was it. Thanks.
Ted
On Wed, Mar 27, 2013 at 10:53 PM, Ted Byers
I have done the usual things to enable SSL on this virtual machine. The intent for this machine is to test ideas regarding the usage of apache's web server on Suse 12.3, and while "http://localhost/info.php" works, and in fact it tells me that mod_ssl is loaded. Perhaps I should modify that statement to read that I did the things I usually do on Windows and Ubuntu: an on those platforms, these things (ports open inthe firewall, virtual hosts created using the certificates I'd specified, ensuring that mod_ssl is loaded, &c.) were enough to get successful tests of SSL (the first of which was to use mod_rewrite to force all unencrypted requests to be made again using https - of course, this is domain/location specific). NB: These things also seemed to be sufficient on Opensuse 12.1
However, the server, when accessed using "https://localhost:443/info.php" gives me an error saying the host is unreachable. I ran /usr/bin/gensslcert to create a dummy certificate, and related files, again for testing purposes only (and using dolphin, I see the files it is supposed to create, and with the timestamp that is rational given the time I ran it. I made an ssl virtual host, and set the righ t file names for the certificates, as well as the proper document root. And I made sure that the firewall permits access both on port 80 for http and port 443 for https.
Apache's error log actually tells me nothing (there are no errors in it, from the time I first installed and started httpd.
Does anyone have any ideas as to why SSL may fail on this platform? Or does anyone have a checklist as to what to verify regarding apache's httpd server properly serving pages over https on opensuse 12.3?
Thanks
Ted
-- R.E.(Ted) Byers, Ph.D.,Ed.D. TED@MERCHANTSERVICECORP.COM CTO Merchant Services Corp. 17665 Leslie st., unit 30 Newmarket , Ontario L3Y 3E3 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Alvin Beach
-
Per Jessen
-
Ted Byers