1. 15 Feb, 2021 1 commit
    • Mike Edmunds's avatar
      Fix: Unifi deploy hook support Unifi Cloud Key (#3327) · bf8c3370
      Mike Edmunds authored
      * fix: unifi deploy hook also update Cloud Key nginx certs
      
      When running on a Unifi Cloud Key device, also deploy to
      /etc/ssl/private/cloudkey.{crt,key} and reload nginx. This
      makes the new cert available for the Cloud Key management
      app running via nginx on port 443 (as well as the port 8443
      Unifi Controller app the deploy hook already supported).
      
      Fixes #3326
      
      * Improve settings documentation comments
      
      * Improve Cloud Key pre-flight error messaging
      
      * Fix typo
      
      * Add support for UnifiOS (Cloud Key Gen2)
      
      Since UnifiOS does not use the Java keystore (like a Unifi
      Controller or Cloud Key Gen1 deploy), this also reworks
      the settings validation and error messaging somewhat.
      
      * PR review fixes
      
      * Detect unsupported Cloud Key java keystore location
      
      * Don't try to restart inactive services
      
      (and remove extra spaces from reload command)
      
      * Clean up error messages and internal variables
      
      * Change to _getdeployconf/_savedeployconf
      
      * Switch from cp to cat to preserve file permissions
      bf8c3370
  2. 13 Feb, 2021 3 commits
  3. 12 Feb, 2021 2 commits
  4. 11 Feb, 2021 1 commit
  5. 10 Feb, 2021 1 commit
  6. 04 Feb, 2021 1 commit
  7. 30 Jan, 2021 5 commits
  8. 26 Jan, 2021 2 commits
  9. 25 Jan, 2021 1 commit
  10. 22 Jan, 2021 2 commits
  11. 21 Jan, 2021 2 commits
  12. 20 Jan, 2021 2 commits
  13. 16 Jan, 2021 3 commits
  14. 15 Jan, 2021 1 commit
  15. 13 Jan, 2021 1 commit
  16. 12 Jan, 2021 1 commit
  17. 11 Jan, 2021 2 commits
  18. 10 Jan, 2021 6 commits
  19. 08 Jan, 2021 1 commit
  20. 05 Jan, 2021 2 commits