Hi, after migrate passbolt from server, I get the message
“Sorry, the server key has changed”**
or security reasons please check with your administrator that this is a change that they initiated. The new fingerprint:
B491 1E08 F425 C154 6A4F
7FE1 BC44 2522 8651 XXXX
I accept the fingerprint, login and it works, but when I enter again get the same message,
The main problem is can’t configure a new browser because the server don’t accept my passbolt_private.asc and every time I login on a browser preconfigured I’ve to accept the message.
I’ve imported the serverkey_private.asc from the old server and putted /etc/passbolt/gpg/serverkey_private.asc
The command import and result:
**sudo su -s /bin/bash -c "gpg --home /var/lib/passbolt/.gnupg --import /etc/passbolt/gpg/serverkey_private.asc" www-data**
gpg: WARNING: unsafe permissions on homedir '/var/lib/passbolt/.gnupg'
gpg: key BC4425228651XXXX: "xxxxx <xxxxx@xxxx.cat>" not changed
gpg: key BC4425228651XXXX: secret key imported
gpg: Nombre total processat: 1
gpg: no modificades: 1
gpg: claus privades llegides: 1
gpg: claus privades no canviades: 1
I’ve check the key and is seems be ok:
gpg: WARNING: unsafe permissions on homedir '/var/lib/passbolt/.gnupg'
/var/lib/passbolt/.gnupg/pubring.kbx
------------------------------------
sec rsa2048 2018-08-27 [SC]
B491 1E08 F425 C154 6A4F 7FE1 BC44 2522 8651 XXXX
uid [ unknown] xxxxx <xxxxx@xxxx.cat>
ssb rsa2048 2018-08-27 [E]
In my /etc/passbolt/passbolt.php
'fingerprint' => 'B4911E08F425C1546A4F7FE1BC4425228651XXXX',
'public'=>'/etc/passbolt/gpg/serverkey.asc',
'private'=>'/etc/passbolt/gpg/serverkey_private.asc',
Seems to be the private key is not correct but I’ve checked the common configurations without exit. What is wrong?
Thanks
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
-------------------------------------------------------------------------------
Healthcheck shell........Warning Error: file_get_contents(/etc/passbolt/jwt/jwt.pem): failed to open stream: No such file or directory
In [/usr/share/php/passbolt/plugins/Passbolt/JwtAuthentication/src/Service/AccessToken/JwtKeyPairService.php, line 110]
2021-11-09 14:03:07 Warning: Warning (2): file_get_contents(/etc/passbolt/jwt/jwt.pem): failed to open stream: No such file or directory in [/usr/share/php/passbolt/plugins/Passbolt/JwtAuthentication/src/Service/AccessToken/JwtKeyPairService.php, line 110]
-------------------------------------------------------------------------------
Environment
[PASS] PHP version 7.4.25.
[PASS] PCRE compiled with unicode support.
[PASS] The temporary directory and its content are writable and not executable.
[PASS] The logs directory and its content are writable.
[PASS] GD or Imagick extension is installed.
[PASS] Intl extension is installed.
[PASS] Mbstring extension is installed.
Config files
[PASS] The application config file is present
[PASS] The passbolt config file is present
Core config
[PASS] Debug mode is off.
[PASS] Cache is working.
[PASS] Unique value set for security.salt
[PASS] Full base url is set to https://pass.olot.cat
[PASS] App.fullBaseUrl validation OK.
[PASS] /healthcheck/status is reachable.
SSL Certificate
[PASS] SSL peer certificate validates
[PASS] Hostname is matching in SSL certificate.
[PASS] Not using a self-signed certificate
Database
[PASS] The application is able to connect to the database
[PASS] 26 tables found
[PASS] Some default content is present
[PASS] The database schema up to date.
GPG Configuration
[PASS] PHP GPG Module is installed and loaded.
[PASS] The environment variable GNUPGHOME is set to /var/lib/passbolt/.gnupg.
[PASS] The directory /var/lib/passbolt/.gnupg containing the keyring is writable by the webserver user.
[PASS] The server OpenPGP key is not the default one
[PASS] The public key file is defined in config/passbolt.php and readable.
[PASS] The private key file is defined in config/passbolt.php and readable.
[PASS] The server key fingerprint matches the one defined in config/passbolt.php.
[PASS] The server public key defined in the config/passbolt.php (or environment variables) is in the keyring.
[PASS] There is a valid email id defined for the server key.
[PASS] The public key can be used to encrypt a message.
[PASS] The private key can be used to sign a message.
[PASS] The public and private keys can be used to encrypt and sign a message.
[PASS] The private key can be used to decrypt a message.
[PASS] The private key can be used to decrypt and verify a message.
[PASS] The public key can be used to verify a signature.
Application configuration
[PASS] Using latest passbolt version (3.3.0).
[PASS] Passbolt is configured to force SSL use.
[PASS] App.fullBaseUrl is set to HTTPS.
[PASS] Selenium API endpoints are disabled.
[PASS] Search engine robots are told not to index content.
[PASS] Registration is closed, only administrators can add users.
[PASS] Serving the compiled version of the javascript app
[PASS] All email notifications will be sent.
JWT Authentication
[WARN] The JWT Authentication plugin is disabled
[HELP] Set the environment variable PASSBOLT_PLUGINS_JWT_AUTHENTICATION_ENABLED to true
[PASS] No error found. Nice one sparky
Checklist
[ ] I have read intro post: About the Installation Issues category
[ ] I have read the tutorials, help and searched for similar issues
[ ] I provide relevant information about my server (component names and versions, etc.)
[ ] I provide a copy of my logs and healthcheck
[ ] I describe the steps I have taken to trouble shoot the problem
[ ] I describe the steps on how to reproduce the issue