passbolt_api icon indicating copy to clipboard operation
passbolt_api copied to clipboard

Debian Package Install Nginx Manual SSL Config Fails

Open Alex-Richman opened this issue 5 years ago • 2 comments

  • Passbolt Version: Pro 2.14.0-0
  • Platform and Target: -- Operating system: Debian 10 -- Web server: nginx -- Database server: mysql
  • Installing Passbolt Pro using the Debian 10 package from https://help.passbolt.com/hosting/install/pro/debian/debian.html
  • During install, the package prompts for none or manual SSL configuration for nginx. If you select manual it prompts for the SSL cert and key paths to configure nginx with.
  • After entering the cert and key path, the installer attempts to copy the files to /etc/ssl/private/<file_name>.(crt/.key)
  • However, if the crt/key files you supply are already in /etc/ssl/private, the installer fails with cp: '/etc/ssl/private/<filename>' and '/etc/ssl/private/<filename>' are the same file

Alex-Richman avatar Oct 21 '20 15:10 Alex-Richman

Hey @Alex-Richman !

Thanks for your bug report and sorry for the inconvenience caused. I will dig into this, however I'm curious on what would you expect on this scenario?

dlen avatar Oct 21 '20 16:10 dlen

Hi @dlen

I had already copied the key/crt to /etc/ssl/private, so I guess I would expect the installer to recognise that the files already exist and (a) prompt if I want to overwrite them (b) if the source (configured) and destination file are the same not attempt to copy it again.

Thanks,

  • Alex.

Alex-Richman avatar Oct 21 '20 17:10 Alex-Richman