Martin Bartosch wrote:

While tracing the problem I found out that the OpenCA SCEP CGI
script invokes the scep command, but this command simply outputs
its usage screen (the same that is printed if openca-scep -h is
called)

This usage output is then sent across HTTP to the SCEP client
which produces an exception because it does not expect a chunked
encoding (and thus a content length of -1).
Badly coded client, of course, but what am I doing wrong here?

This sounds like a bug in openca-scep or better in our command scepPKIOperation. Perhaps you should add some debug statements to the command which print the SCEP commands to STDERR. After this you can visit the commands at stderr.log. My personal opinion is that such a message is a heavy bug because this is an unexpected behaviour (sounds like a missing parameter check).


Michael
--
_______________________________________________________________

Michael Bell                    Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482       ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704       Unter den Linden 6
[EMAIL PROTECTED]   D-10099 Berlin
_______________________________________________________________


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to