passbolt_install_scripts
passbolt_install_scripts copied to clipboard
Passbolt install script fails when key material is already in /etc/ssl
Not sure if this is the right place for Debian package installation issues.
In passbolt-ce-server.postinst lines 186 and 187, we find:
cp "${nginx_values[cert_file]}" "$PASSBOLT_SSL_CERT_PATH"`
cp "${nginx_values[cert_key_file]}" "$PASSBOLT_SSL_KEY_PATH"
cp returns a non-zero exit code when source and destination file is the same. Ergo, when the specified certificate chain and/or private key is already in $PASSBOLT_SSL_CERT_PATH or $PASSBOLT_SSL_KEY_PATH (which is a good place for SSL certificates, so this is very likely), the postinst script fails with no indication of any issues, except for cp output.
Just ran into this issue again with Passbolt Pro...