linuxserver / docker-unifi-network-application

GNU General Public License v3.0
551 stars 40 forks source link

[FEAT] Add docs for custom SSL certificate #78

Closed rwjack closed 3 months ago

rwjack commented 3 months ago

Is this a new feature request?

Wanted change

https://gist.github.com/hdml/8a446dc1b0ad4f94b7a17a67a33286ab

I used this on the unifi-controller image, and the method seems to work for this image as well.

Reason for change

So people don't have to trust insecure rootCA's in their proxy:

serversTransport:
  insecureSkipVerify: true

Proposed code change

No response

github-actions[bot] commented 3 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

thespad commented 3 months ago

We're not going to link to a random gist from 2017 in our readme. It might well work, but we have no way of monitoring to ensure that a) it continues to work and b) nobody changes the content to be something else.

Ubiquiti have removed all references to using custom certs from their KB site and we are not in a position to be able to provide support to users when they inevitably run into issues trying to add their own certs using the frankly terrible Java keystore tools and following instructions that aren't designed for container use.

If users have the wherewithal to be operating their own CA to provide internally-trusted certificates to apps they should also be capable of figuring out how to install those certificates.