Hello,

I setup Ciphermail 5.0.4 on Ubuntu 20.4 with Tomcat 9.0.31 and openjdk 11.0.11

Importing a certificate from the current (old) Ciphermail is no problem. But 
when I select more than one certificate, the file certificates.p7b is created 
(which is technically okay) and the import fails with the message " There was 
an error uploading the certificate file. Cause: Processing of 
multipart/form-data request failed. Stream ended unexpectedly "

In /var/log/tomcat9/catalina.2021-08-13.log I find the following errors:

13-Aug-2021 15:39:31.589 INFO [https-jsse-nio-8443-exec-3] 
org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request 
header
 Note: further occurrences of HTTP request parsing errors will be logged at 
DEBUG level.
        java.lang.IllegalArgumentException: Invalid character found in the HTTP 
protocol
                at 
org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:533)
                at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:260)
                at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
                at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
                at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)
                at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
                at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                at java.base/java.lang.Thread.run(Thread.java:829)



The same error appears when I try to import the suggested CA certficate list 
from Mozilla 
(https://ccadb-public.secure.force.com/mozilla/IncludedRootsPEMTxt?TrustBitsInclude=Email).

What am I doing wrong?

Thanks for any suggestions & hints,

Stefan

Reply via email to