passbolt / passbolt_browser_extension

Browser extensions (Firefox, Edge & Chrome) for Passbolt the open source password manager for teams
https://passbolt.com
GNU Affero General Public License v3.0
233 stars 72 forks source link

Extension can't get a Server Key when setting up a first admin user #25

Closed JamesDeGreese closed 7 years ago

JamesDeGreese commented 7 years ago

Hi everyone! I install passbolt on selfhosted server. Setup successfuly complete and folow by manual I need to create first admin user. I get activation link from console, copy them to browser and proceed the extension instalation wizard. But on first step wizard stuck with error. screenshot from 2017-06-01 18-17-27 So here a healthchek log:

---------------------------------------------------------------
 Healthcheck shell        
---------------------------------------------------------------

 Environment

 [PASS] PHP version 7.0.18-0ubuntu0.16.04.1
 [PASS] PCRE compiled with unicode support
 [PASS] The app/tmp directory is writable
 [PASS] The app/webroot/img/public directory is writable

 Config files

 [PASS] The core config file is present
 [PASS] The database config file is present
 [PASS] The email config file is present
 [PASS] The application config file is present

 Core config

 [PASS] Debug mode is off.
 [PASS] Cache is working.
 [PASS] Unique value set for security.salt
 [PASS] Unique value set for security.cipherSeed
 [PASS] Full base url is set to https://passbolt.local
 [PASS] App.fullBaseUrl validation OK.
 [PASS] /healthcheck/status is reachable.

 SSL Certificate

 [PASS] SSL peer certificate validates
 [PASS] Hostname is matching in SSL certificate.
 [WARN] Using a self-signed certificate

 Database

 [PASS] Configured to use a supported database backend
 [PASS] The application is able to connect to the database
 [PASS] Not using a prefix for database tables
 [PASS] 20 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 server gpg key is not the default one
 [PASS] The environment variable GNUPGHOME is set to /home/www-data/.gnupg
 [PASS] The directory containing the keyring is writable by root.

 Application configuration

 [PASS] Using latest passbolt version (1.5.1)
 [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

 Development Tools (optional)

 [PASS] Phpunit is installed
 [PASS] Phpunit version is 3.7.38

 No error found. Nice one sparky!

In the webserver or passbolt error log i don't have any errors.

stripthis commented 7 years ago

Can you double check if your server key contain an email address? (this is a known issue: https://github.com/passbolt/passbolt_browser_extension/issues/12 )

JamesDeGreese commented 7 years ago

Oh, my bad :D I used a wrong key to export and this key doesn't contain email address. I re-exported keys and all gone be OK. Thanks

stripthis commented 7 years ago

Deleted comment from mike as duplicate from here: https://github.com/passbolt/passbolt_browser_extension/issues/28