Yup, that did it.I just replaced the TrustedTimestamps.php with the newest
from the master branch and it worked again.
Thanks for the help!
Frank
Am Dienstag, 6. April 2021, 18:36:56 MESZ hat Folgendes
geschrieben:
Hello Frank,
in openssl 1.1.x the output of the openssl command has changed. Assuming
your mentioned piler installation is older than 2020-10-17, then I
suggest
to try updating system/helper/TrustedTimestamps.php from the master
branch,
and let's see how it goes.
Janos
On 2021-04-06 16:50, Frank Schmitz wrote:
> Hello all,
>
> I had to perform an Ubuntu Upgrade to 18.04 on a server running an
> older version of piler.
>
> The update ran without any problems, but the piler Web-GUI seems to be
> "broken".
>
> I get the following error in the apache log (pseudo anonymized):
>
> [Tue Apr 06 16:35:53.008548 2021] [php7:error] [pid 14368] [client
> xxx:64562] PHP Fatal error: Uncaught Exception: Systemcommand failed:
> Using configuration from /usr/lib/ssl/openssl.cnf, Verification: OK in
> /var/www/xxx/htdocs-ssl/system/helper/TrustedTimestamps.php:186\nStack
> trace:\n#0 /var/www/xxx/htdocs-ssl/model/search/message.php(512):
> TrustedTimestamps::validate('1c79bef0265fxxx...',
> 'MIIVSzADAgEAxxx...', '1617716xxx', '/var/piler/free...')\n#1
> /var/www/xxx/htdocs-ssl/model/search/message.php(51):
> ModelSearchMessage->check_rfc3161_timestamp_for_id('2519')\n#2
> /var/www/xxx.com/htdocs-ssl/model/search/message.php(228):
> ModelSearchMessage->verify_message('4000606xxx8...', 'Return-Path:
> ModelSearchMessage->extract_message('4000606cxxx...', '')\n#4
> /var/www/xxx/htdocs-ssl/system/front.php(36):
> ControllerMessageView->index()\n#5
> /var/www/xxx/htdocs-ssl/system/front.php(14): Fro in
> /var/www/xxx/htdocs-ssl/system/helper/TrustedTimestamps.php on line
> 186
>
> I see that TrustedTimestamps.php throws an exception, but I don't
> understand why...
> It says "Verification: OK" which should indicate that everything has
> gone well, right?
>
> openssl is installed (1.1.1), the cron job signing messages using
> TrustedTimestamps.php is also running fine.
>
> But using the gui throws an exception...
>
> Help anyone?
>
> Kind regards
> Frank Schmitz