-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service returning Error 500 #3
Comments
There seems to be a problem in building & deploying through portainer - possibly some env variables are not handled correctly. When deploying through bare docker everything is working fine! Will investigate further where the problem lies (except Layer 8) and report back for other users :) Question for @yahesh: Is it expected that the container takes around 10 minutes before actually generating the key? (Still not testes if this persists when giving a key instead of generating it). Thanks for your great project! Really like the idea and implementation! |
@linus0508 The container does not generate the private key itself. Instead, it has to be generated and provided externally (see here). In the Container Run example (see here) it is transparently generated and passed to the container as an environment variable. Mind the note below that example:
The private key is required to retrieve generated secrets. So transparently generating the private key is not a good idea if old(er) secrets shall be readable after a container update. Instead, that private key should be managed elsewhere and only be provided to the container when running it. P.S.: The only key material the container generates itself are custom Diffie-Hellman parameters for TLS. This can indeed take a while. If you handle TLS externally, you can skip the generation by passing the |
After deploying the docker container the service starts as aspected and the webpage is generated.

On trying to download the public key or generating a shared secrets the web server returns an error 500.

Most likely an issue on my end but would love to get some help (and maybe add the solution to the documentation :))
The text was updated successfully, but these errors were encountered: