Hello,
in previous versions of CipherMail it was possible to import certificates with the following command:
cd /usr/share/djigzo
java -cp djigzo.jar mitm.application.djigzo.tools.CertStore --import-keys --dir /path/to/certs/ --keystore-password SeCrEt
This fails in the current version 4.10.0 (virtual appliance):
Error: Could not find or load main class mitm.application.djigzo.tools.CertStore
Is this import no longer available? /usr/share/djigzo-gateway-console/lib/djigzo.jar still contains CertStore.class
When I add the path to the jar file, I only get another error:
java -cp /usr/share/djigzo-gateway-console/lib/djigzo.jar mitm.application.djigzo.tools.CertStore --import-keys --dir /path/to/certs/ --keystore-password SeCrEt
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/MissingArgumentException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.MissingArgumentException
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 7 more
Thanks your any hints or suggstions.
Regards,
Stefan
Hi,
we use Ciphermail as an encryption gateway and it works as aspected. Now we got a certificate from a custom to encrypt mails per S/MIME. This certificate has as key usage "nonRepudiation, digitalSignature" and as extended key usage "smartcardLogin, emailProtection, clientAuth", but we can't use it for encryption. Is emailProtection not enough, does this certificate need as key usage "keyEncipherment"?
Regards
Christian
Hello,
I have a very strange problem with a sent HTML file.
The HTML file contains java-script (longer then 2048 character a row). The
encryption and decryption successfully worked, but the decrypted file
didn't work.
After the drcyption the file got a line break after 2048 characters, so
the javascript is corrupt.
Sender is the ciphermail gateway
Version:
4.8.0-0
Built:
2020-05-19-13:37
Receiver is K-9 with OpenKeychain or Thunderbird with integrated PGP.
So I think the "problem" is in ciphermail.
Regards
Robert