Adds docs for setting up self-signed tls
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 53s
Automated Main Deploy Action / build-and-deploy-docs (push) Successful in 21s

This commit is contained in:
2025-11-03 02:46:12 -05:00
parent 1c6597895c
commit 53f3745963

View File

@@ -60,4 +60,29 @@ readonly. You can either modify it to be readonly, or scan with `force_readonly=
There are too many things to list here for a simple getting started guide, Please see the swagger docs for the various
tag endpoints. Note that files will NOT be returned in a search UNLESS they've been scanned in a cluster first. Even if
tagged.
tagged.
## Getting hydrui/hyweb to work
If you are not self hosting either, you'll need to setup either a proxy to provide https, or add in your own self-signed keys to IDHAN for it to function properly.
### Self-signed keys
You can run `openssl req -x509 -newkey rsa:4096 -keyout server.key -out server.crt -days 365 -nodes` in a directory that you're happy with for the keys to be in, and then provide IDHAN with the information to use the keys
Set the following in one of your config files for IDHAN
```aiignore
[host]
use_ssl = true
server_cert_path = "/home/whatever/yourpath/server.crt"
server_key_path = "/home/whatever/yourpath/server.key"
# if either are set to "" then it will just not listen on it
ipv4_listen = "127.0.0.1" # localhost only
# or
ipv4_listen = "0.0.0.0" # all
ipv6_listen = "::1" #localhost
# or
ipv6_listen = "::" # any
```