Hi everyone,
I follow this guide : https://help.passbolt.com/hosting/install/ce/from-source to install in iocage freebsd.
Apache 2.4 and php7.2 works perfectly : test phpinfo()
I got my SSL certs with let’s encrypt (with wildcard for subdomains like passbolt)
Here the result of ./bin/cake passbolt healthcheck
Environment
[PASS] PHP version 7.2.10.
[PASS] PCRE compiled with unicode support.
[PASS] The temporary directory and its content are writable.
[PASS] The public image directory and its content are writable.
[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://passbolt.opti-it.fr
[PASS] App.fullBaseUrl validation OK.
[FAIL] Could not reach the /healthcheck/status with the url specified in App.fullBaseUrl
[HELP] Check that the domain name is correct in config/passbolt.php
[HELP] Check the network settings
SSL Certificate
[FAIL] SSL peer certificate does not validate
[FAIL] Hostname does not match when validating certificates.
[WARN] Using a self-signed certificate
[HELP] fopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
fopen(): Failed to enable crypto
fopen(https://passbolt.opti-it.fr/healthcheck/status.json): failed to open stream: operation failed
Database
[PASS] The application is able to connect to the database
[PASS] 18 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/passbolt/.gnupg.
[PASS] The directory /home/passbolt/.gnupg containing the keyring is writable by the webserver user.
[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 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 (2.4.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.
3 error(s) found. Hang in there!
And here the log of httpd-error.log when I try to attempt the web site
[Wed Nov 07 13:06:14.841531 2018] [php7:error] [pid 78085] [client 192.168.144.6:51194] PHP Fatal error: [Error] Call to undefined function Cake\\Network\\session_status()\n#0
/usr/local/www/apache24/data/passbolt/vendor/cakephp/cakephp/src/Network/Session.php(218): Cake\\Network\\Session->options(Array)\n#1 /usr/local/www/apache24/data/passbolt/vendor/cakephp/cakephp/src/Network/Session.php(125): Cake\\Network\\Session->__construct(Array)\n#2 /usr/local/www/apache24/data/passbolt/vendor/cakephp/cakephp/src/Http/ServerRequestFactory.php(47): Cake\\Network\\Session::create(Array)\n#3 /usr/local/www/apache24/data/passbolt/vendor/cakephp/cakephp/src/Http/ServerRequest.php(232): Cake\\Http\\ServerRequestFactory::fromGlobals()\n#4 /usr/local/www/apache24/data/passbolt/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php(118): Cake\\Http\\ServerRequest::createFromGlobals()\n#5 /usr/local/www/apache24/data/passbolt/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php(91): Cake\\Error\\ExceptionRenderer->_getController()\n#6 /usr/local/www/apache24/data/passbolt/vendor/cakephp/cakephp/src/Error/ErrorHandler.php(137): Cake\\Error\\Exceptio in /usr/local/www/apache24/data/passbolt/vendor/cakephp/cakephp/src/Error/ErrorHandler.php on line 181
Don’t know how to resolv this
Thanks