Replies: 1 comment 3 replies
-
👋🏻 @erippey, when are you receiving the errors you mention? Given that you're using a self-signed cert you'll need to make sure that it is trusted by the clients you use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone had any success getting TLS working in OpenFGA. As of right now, I have OpenFGA running in a docker compose but planning to move to a cluster soon. I have tried setting up HTTP_TLS_ENABLED, and setting the OPENFGA_HTTP_TLS_CERT and OPENFGA_HTTP_TLS_KEY to self signed certificates. I have tried this both with and without OPENFGA_AUTHN_METHOD and preshared keys enabled in case the issue was that they were necessary. I have followed a few different tutorials to set up TLS keys including, the two following (one, two), plus using tls-gen repository to generate them. Thus far, all of my certificates and keys have been mounted and set to a app/src/ folder. I have gotten errors ranging from remote error: tls: bad certificate, to could not verify private key, to tls: failed to verify certificate: x509: certificate signed by unknown authority. I am not sure where to go from here. I do know that there exists a ca-certification within the etc/ssl/certs folder of the container provided by openfga, but I don't know what it is a certificate for, nor could I find a matching private key. Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions