Could not verify server key. There was an error during authentication. Enable debug mode for more information

Hi guys,
I have installed Passbolt 2 on Ubuntu 16.04 Xenial following Debian 9 instructions.
At the end I configured my plugin and after authentication i got this issue:
“Could not verify server key. There was an error during authentication. Enable debug mode for more information”
See the screenshot:

Apache and Passbolt logs dont show anything.

I used gpgv1 without passphrase. Fingerprint in passpbolt.php passed OK.

However apache uses php7.0 modules instead of php.
Here is a list:
ii dh-php 0.10 all debhelper add-on to handle PHP PECL extensions
ii libapache2-mod-php7.0 7.0.32-0ubuntu0.16.04.1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii php-cli 1:7.0+35ubuntu6.1 all command-line interpreter for the PHP scripting language (default)
ii php-cli-prompt 1.0.1+dfsg-1build1 all tiny helper prompting for user input
ii php-common 1:35ubuntu6.1 all Common files for PHP packages
ii php-composer-semver 1.2.0-1build1 all Semver library that offers utilities, version constraint parsing and
ii php-composer-spdx-licenses 1.1.2-1build1 all SPDX licenses list and validation library
ii php-gnupg 1.3.6-1ubuntu1 amd64 wrapper around the gpgme library
ii php-json-schema 1.6.1-1build1 all implementation of JSON schema
ii php-pear 1:1.10.1+submodules+notgz-6 all PEAR Base System
ii php-symfony-console 2.7.10-0ubuntu2 all run tasks from the command line
ii php-symfony-filesystem 2.7.10-0ubuntu2 all basic filesystem utilities
ii php-symfony-finder 2.7.10-0ubuntu2 all find files and directories
ii php-symfony-process 2.7.10-0ubuntu2 all execute commands in sub-processes
ii php7.0 7.0.32-0ubuntu0.16.04.1 all server-side, HTML-embedded scripting language (metapackage)
ii php7.0-cli 7.0.32-0ubuntu0.16.04.1 amd64 command-line interpreter for the PHP scripting language
ii php7.0-common 7.0.32-0ubuntu0.16.04.1 amd64 documentation, examples and common module for PHP
ii php7.0-curl 7.0.32-0ubuntu0.16.04.1 amd64 CURL module for PHP
ii php7.0-dev 7.0.32-0ubuntu0.16.04.1 amd64 Files for PHP7.0 module development
ii php7.0-gd 7.0.32-0ubuntu0.16.04.1 amd64 GD module for PHP
ii php7.0-intl 7.0.32-0ubuntu0.16.04.1 amd64 Internationalisation module for PHP
ii php7.0-json 7.0.32-0ubuntu0.16.04.1 amd64 JSON module for PHP
ii php7.0-mbstring 7.0.32-0ubuntu0.16.04.1 amd64 MBSTRING module for PHP
ii php7.0-mysql 7.0.32-0ubuntu0.16.04.1 amd64 MySQL module for PHP
ii php7.0-opcache 7.0.32-0ubuntu0.16.04.1 amd64 Zend OpCache module for PHP
ii php7.0-readline 7.0.32-0ubuntu0.16.04.1 amd64 readline module for PHP
ii php7.0-xml 7.0.32-0ubuntu0.16.04.1 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
ii pkg-php-tools

As you can see there is only php-gnupg installed instead of php7.0-gnupg.
Do you think this might be the issue?

I could not manage to get php7.0-gnupg installed.

Thank you


Hi @Mario

The Debian instructions are not fully compatible with Ubuntu mostly because Ubuntu doesn’t use the same Gnupg version. We released an installation script for Ubuntu yesterday you can find the new instructions there:

It should work out of the box if you use the script on a fresh 18.04 install.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.