Skip to content
This repository was archived by the owner on Dec 10, 2022. It is now read-only.
This repository was archived by the owner on Dec 10, 2022. It is now read-only.

Passbolt install script fails when key material is already in /etc/ssl #21

@WilliamDEdwards

Description

@WilliamDEdwards

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions