Re: question: is it possible to load mod ssl when apache isnt compiled whith modssl?

2001-12-31 Thread Eli Marmor

Arjen Halma wrote:

> My question is: is it possible to load mod ssl when apache isnt compiled
> whith modssl?
> 
> I have a webserver Apache, but modssl is not compiled at the time it was
> made.
> 
> Now i want to add modssl is that possible whithout compiling a new
> webserver? I use Debian

If "isn't compiled with mod_ssl" means "isn't compiled with -DEAPI", then
mod_ssl can work only if your Apache version is 2.0.* (well, theoretically
you can port mod_ssl from the current model - zillion patches in the core
of Apache - to the model that modules like mod_gzip are using, so it will
not require patches in the core of Apache, but only the addition of a
module. But this will be very hard to do, will take months to develop, and
the result may be not as good as the current mod_ssl. And in any case, by
the time you end such a project, Apache 2.0 will become the main version
of Apache...).

-- 
Eli Marmor
[EMAIL PROTECTED]
CTO, Founder
Netmask (El-Mar) Internet Technologies Ltd.
__
Tel.:   +972-9-766-1020  8 Yad-Harutzim St.
Fax.:   +972-9-766-1314  P.O.B. 7004
Mobile: +972-50-23-7338  Kfar-Saba 44641, Israel
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



question: is it possible to load mod ssl when apache isnt compiled whith modssl?

2001-12-31 Thread Arjen Halma

Hello,

Perhaps it is asked 10 thousend times, in that case sorry :)

My question is: is it possible to load mod ssl when apache isnt compiled
whith modssl?

I have a webserver Apache, but modssl is not compiled at the time it was
made.

Now i want to add modssl is that possible whithout compiling a new
webserver? I use Debian


Thx,

Arjen Halma


__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: [BugDB] apachectl startssl failure (PR#655)

2001-12-31 Thread J. Johnson

Look in apachectl to see how it calls httpd in the cases of 'start' and
'startssl'.  These should work out to something like 'httpd' and 'httpd
-DSSL'.  Try each of these directly from the command line.  Possibly the
second instance fails (check the return status with 'echo $?'); that would
indicate a problem in the SSL section of your httpd.conf file.

If those both work, check the ownership and permissions of your log
directory and files.

=== JJ =

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



[BugDB] apachectl startssl failure (PR#655)

2001-12-31 Thread modssl-bugdb

Full_Name: Tomki Camp
Version: 2.8.5
OS: RH Linux 6.1 base
Submission from: (NULL) (203.146.126.222)


I have installed apache 1.3.22 with Mod-ssl 2.8.5 as a DSO.  I have PHP 4.1.1
compiled into the HTTPD binary statically.  The 'apachectl start' works fine,
but with 'startssl' I get a failure 'httpd could not be started' and nothing is
written to the error_log, although if the log is not there it is instantiated.  
Please help?  Below is an strace of the startup, let me know if something else
would be of use.
Using Openssl .9.6b currently, not from system source, which is .9.6c.  (Tried
that as the mod_ssl source also, same result)

strace /usr/local/apache1322/bin/apachectl startssl
execve("/usr/local/apache1322/bin/apachectl",
["/usr/local/apache1322/bin/apachectl", "startssl"], [/* 30 vars */]) = 0
brk(0)  = 0x80a5420
open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or directory)
open("/lib/i686/mmx/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/lib/i686/mmx", 0xb44c)   = -1 ENOENT (No such file or directory)
open("/lib/i686/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/lib/i686", 0xb44c)   = -1 ENOENT (No such file or directory)
open("/lib/mmx/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/lib/mmx", 0xb44c)= -1 ENOENT (No such file or directory)
open("/lib/libtermcap.so.2", O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=15001, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\v\0"..., 4096) =
4096
mmap(0, 13896, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40013000
mprotect(0x40016000, 1608, PROT_NONE)   = 0
mmap(0x40016000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) =
0x40016000
close(3)= 0
open("/lib/libc.so.6", O_RDONLY)= 3
fstat(3, {st_mode=S_IFREG|0755, st_size=4118299, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\202"..., 4096) =
4096
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
mmap(0, 993500, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40018000
mprotect(0x40103000, 30940, PROT_NONE)  = 0
mmap(0x40103000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xea000)
= 0x40103000
mmap(0x40107000, 14556, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40107000
close(3)= 0
mprotect(0x40018000, 962560, PROT_READ|PROT_WRITE) = 0
mprotect(0x40018000, 962560, PROT_READ|PROT_EXEC) = 0
personality(0 /* PER_??? */)= 0
getpid()= 15294
brk(0)  = 0x80a5420
brk(0x80a55c0)  = 0x80a55c0
brk(0x80a6000)  = 0x80a6000
getuid()= 0
getgid()= 0
geteuid()   = 0
getegid()   = 0
time(NULL)  = 1009610233
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGILL, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTRAP, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGABRT, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGSEGV, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x40

no time to answer passphrasedialog

2001-12-31 Thread Bernhard Kueper

Hello people,

here is my little problem:

I've generated and installed a certificate. Now when I will start
appache the passphrase dialog occurs, but only for a second, after then
appache says "done" and I get the following error:

[error] Init: Private key not found (OpenSSL library error follows)
[error] OpenSSL: error:0D084069:asn1 encoding routines:d2i_ASN1_SET:bad
tag
[error] OpenSSL: error:0D09D082:asn1 encoding
routines:d2i_RSAPrivateKey:parsing
[error] OpenSSL: error:0D09B00D:asn1 encoding
routines:d2i_PrivateKey:ASN1 lib

There is no chance to type the passphrase in one second.

If I remove the encryption (see FAQ) all works fine.

suse 7.3
apache 1.3.2
mod_ssl 2.8
openssl 0.9.6b
certifikate x509 1024

I think I need help.

Greetings an a happy new year.

Bernhard Küper
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]