after setting the missing parameter I get the following messages:
There was an error uploading the PKCS#12 file. Cause: Error running
[/usr/share/djigzo/scripts/execute-script-no-root.sh,ssl,-i]. exit
value: 1 (1)
How did you install the gateway? Using the RPMs?
There can be a couple of reasons this fails, ymlink for the ssl script
not created, permission problems...
Does the synlink /usr/share/djigzo/scripts/scripts.d/ssl.sh exist:
stat /usr/share/djigzo/scripts/scripts.d/ssl.sh
If so, what are the owner are permissions of the file
/usr/share/djigzo/scripts/ssl.sh:
stat /usr/share/djigzo/scripts/ssl.sh
And what are the permissions/owner of the scripts.d dir:
stat /usr/share/djigzo/scripts/scripts.d
Kind regards,
Martijn Brinkers
···
On 20-05-2020 15:47, fatcharly(a)gmx.de wrote:
Gesendet: Mittwoch, 20. Mai 2020 um 14:58 Uhr
Von: "Martijn Brinkers via Users" <users(a)lists.ciphermail.com>
An: users(a)lists.ciphermail.com
Betreff: Re: change installed certificate for webfrontend 4.6 /CentOS 7.8On 20-05-2020 14:44, fatcharly via Users wrote:
I'm using djigzo 4.6 with postgresql on an fully patched CentOS 7.8
When I try to change the installed certificate for the webadmin-frontend, I get the following messages:There was an error uploading the PKCS#12 file. Cause: Cannot run program "/usr/share/tomcat/scripts/execute-script-no-root.sh": error=2, No such file or directory
Problem is, there is no "scripts"-folder under /usr/share/tomcat/ .
How do I resolve the problem ?
The most likely reason this happens is that djigzo.home parameter is not
set for Tomcat.check whether /etc/sysconfig/tomcat contains the following line:
JAVA_OPTS="-Ddjigzo-web.home=/usr/share/djigzo-web
-Ddjigzo.home=/usr/share/djigzo -Djava.awt.headless=true -Xmx128M
-Djdk.tls.ephemeralDHKeySize=2048"Note: djigzo.home should point to the directory where the back-end is
installedIf this is not configured, you can configure this with the following
commmand (copied from
RedHat/CentOS — CipherMail Documentation):echo "JAVA_OPTS=\"-Ddjigzo-web.home=/usr/share/djigzo-web \
-Ddjigzo.home=/usr/share/djigzo \
-Djava.awt.headless=true -Xmx128M\"" >> /etc/sysconfig/tomcatThen restart Tomcat
Kind regards,
Martijn Brinkers
--
CipherMail email encryption
Email encryption with support for S/MIME,
OpenPGP, PDF encryption and secure webmail pull.W: https://www.ciphermail.com/
E: info(a)ciphermail.com
T: +31 20 290 0088
_______________________________________________
Users mailing list -- users(a)lists.ciphermail.com
To unsubscribe send an email to users-leave(a)lists.ciphermail.com
--
CipherMail email encryption
Email encryption with support for S/MIME,
OpenPGP, PDF encryption and secure webmail pull.
W: https://www.ciphermail.com/
E: info(a)ciphermail.com
T: +31 20 290 0088