LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSL problems (https://www.linuxquestions.org/questions/linux-newbie-8/ssl-problems-94680/)

ohe 09-19-2003 09:34 PM

SSL problems
 
I am trying to setup my Apache server for SSL. It works for http, but not for htpps. I have my certs installed; I have activated SSL through the http server setting (gui). When I try to connect to https: I get a "The page cannot be displayed" page that says "cannot find server or DNS Error" at the bottom. However, when I connect to the address:443 it connects, but unsecured. I have done more reading in Apache SSL setup then my last history class. I can't figure this one out. Your help is appreciated.

pablob 09-20-2003 09:19 AM

Looks like an Apache startup problem:

Usually, one starts Apache by issuing:

# /path/to/apache/bin/apachectl start
or
# /path/to/apache/bin/httpd

but to start it with SSL, you need to issue:

# /path/to/apache/bin/apachectl startssl
or
# /path/to/apache/bin/httpd -DSSL -f /path/to/apache/conf/httpd.conf

ohe 09-20-2003 06:43 PM

I used httpd -DSSL and Apache asked for my passphrase. It is up and running, but still no https.

pablob 09-21-2003 07:14 AM

Can you post the errors from /var/log/apache/error.log or /var/log/httpd/error.log ?

ohe 09-21-2003 09:59 AM

Here is the yesterdays printout.

I appreciate your help.

Tony


[Fri Sep 19 18:47:44 2003] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 19

18:47:44 2003] [notice] Digest: done
[Fri Sep 19 18:47:45 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming

normal operations
[Sat Sep 20 00:03:45 2003] [error] [client 62.109.78.2] File does not exist: /var/www/html/NULL.printer
[Sat

Sep 20 01:19:48 2003] [error] [client 62.109.101.187] File does not exist: /var/www/html/scripts/nsiislog.dll
[Sat Sep 20

04:02:10 2003] [notice] SIGHUP received. Attempting to restart
[Sat Sep 20 04:02:12 2003] [notice] Digest: generating secret

for digest authentication ...
[Sat Sep 20 04:02:12 2003] [notice] Digest: done
[Sat Sep 20 04:02:13 2003] [notice]

Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations
[Sat Sep 20 04:10:02 2003] [error] [client

217.235.34.153] File does not exist: /var/www/html/scripts/nsiislog.dll
[Sat Sep 20 07:08:12 2003] [error] [client

24.74.50.92] File does not exist: /var/www/html/scripts/nsiislog.dll
[Sat Sep 20 14:09:28 2003] [warn] child process 7771

still did not exit, sending a SIGTERM
[Sat Sep 20 14:09:28 2003] [warn] child process 7772 still did not exit, sending a

SIGTERM
[Sat Sep 20 14:09:28 2003] [warn] child process 7773 still did not exit, sending a SIGTERM
[Sat Sep 20 14:09:28 2003]

[warn] child process 7774 still did not exit, sending a SIGTERM
[Sat Sep 20 14:09:28 2003] [warn] child process 7775 still did

not exit, sending a SIGTERM
[Sat Sep 20 14:09:28 2003] [warn] child process 7776 still did not exit, sending a SIGTERM
[Sat

Sep 20 14:09:28 2003] [warn] child process 7777 still did not exit, sending a SIGTERM
[Sat Sep 20 14:09:28 2003] [warn] child

process 7778 still did not exit, sending a SIGTERM
[Sat Sep 20 14:09:29 2003] [warn] child process 7771 still did not exit,

sending a SIGTERM
[Sat Sep 20 14:09:29 2003] [warn] child process 7772 still did not exit, sending a SIGTERM
[Sat Sep 20

14:09:29 2003] [warn] child process 7774 still did not exit, sending a SIGTERM
[Sat Sep 20 14:09:30 2003] [notice] caught

SIGTERM, shutting down
[Sat Sep 20 14:19:14 2003] [notice] Digest: generating secret for digest authentication ...
[Sat Sep 20

14:19:14 2003] [notice] Digest: done
[Sat Sep 20 14:19:15 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming

normal operations
[Sat Sep 20 14:33:41 2003] [error] [client 128.195.90.202] Invalid method in request !L!!
[Sat Sep 20

15:28:45 2003] [warn] child process 8725 still did not exit, sending a SIGTERM
[Sat Sep 20 15:28:45 2003] [warn] child process

8726 still did not exit, sending a SIGTERM
[Sat Sep 20 15:28:45 2003] [warn] child process 8727 still did not exit, sending a

SIGTERM
[Sat Sep 20 15:28:45 2003] [warn] child process 8728 still did not exit, sending a SIGTERM
[Sat Sep 20 15:28:45 2003]

[warn] child process 8731 still did not exit, sending a SIGTERM
[Sat Sep 20 15:28:45 2003] [notice] caught SIGTERM, shutting

down
[Sat Sep 20 15:30:19 2003] [notice] Digest: generating secret for digest authentication ...
[Sat Sep 20 15:30:19 2003]

[notice] Digest: done
[Sat Sep 20 15:30:20 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal

operations
[Sat Sep 20 15:31:04 2003] [error] [client 128.195.90.5] Invalid method in request !F!!!
[Sat Sep 20 15:31:04 2003]

[error] [client 128.195.90.5] Invalid method in request !F!!
[Sat Sep 20 15:31:28 2003] [warn] child process 8838 still did

not exit, sending a SIGTERM
[Sat Sep 20 15:31:28 2003] [warn] child process 8839 still did not exit, sending a SIGTERM
[Sat

Sep 20 15:31:28 2003] [warn] child process 8843 still did not exit, sending a SIGTERM
[Sat Sep 20 15:31:28 2003] [notice]

caught SIGTERM, shutting down
[Sat Sep 20 15:32:00 2003] [notice] Digest: generating secret for digest authentication ...
[Sat

Sep 20 15:32:00 2003] [notice] Digest: done
[Sat Sep 20 15:32:01 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured --

resuming normal operations
[Sat Sep 20 15:37:20 2003] [warn] child process 8923 still did not exit, sending a SIGTERM
[Sat Sep

20 15:37:20 2003] [warn] child process 8924 still did not exit, sending a SIGTERM
[Sat Sep 20 15:37:20 2003] [warn] child

process 8926 still did not exit, sending a SIGTERM
[Sat Sep 20 15:37:20 2003] [warn] child process 8927 still did not exit,

sending a SIGTERM
[Sat Sep 20 15:37:20 2003] [warn] child process 8928 still did not exit, sending a SIGTERM
[Sat Sep 20

15:37:20 2003] [notice] caught SIGTERM, shutting down
[Sat Sep 20 15:37:47 2003] [notice] Digest: generating secret for digest

authentication ...
[Sat Sep 20 15:37:47 2003] [notice] Digest: done
[Sat Sep 20 15:37:48 2003] [notice] Apache/2.0.40 (Red Hat

Linux) configured -- resuming normal operations
[Sat Sep 20 15:38:06 2003] [error] [client 128.195.90.5] Invalid method in

request !F!!
[Sat Sep 20 15:38:47 2003] [error] [client 128.195.90.202] Invalid method in request !L!!
[Sun Sep 21 04:02:15

2003] [notice] SIGHUP received. Attempting to restart

pablob 09-22-2003 12:06 PM

What is that strange file I can see requested ?

/var/www/html/scripts/nsiislog.dll

Haven't you blocked your 443 port by the firewall in your system ?
That would allow Apache to start in SSL mode, but without apparently response.

I'd googled for: " Invalid method in request !L!! " , and there are interesting suggestions about the config file.
Take a look and check out your config file:
Listen directives, virtual hosts, etc...


All times are GMT -5. The time now is 05:04 AM.