Skip to content
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

Better filenames in config...toml.jwt are mislading #4

Open
BramVan-Oosterhout opened this issue Jan 21, 2025 · 0 comments
Open

Better filenames in config...toml.jwt are mislading #4

BramVan-Oosterhout opened this issue Jan 21, 2025 · 0 comments

Comments

@BramVan-Oosterhout
Copy link

The updated toml reads:

[jwt]
expiration = 180
accessprivatekeypath = "/usr/local/festivals-identity-server/authentication.pem"
accesspublickeypath = "/usr/local/festivals-identity-server/authentication-key.pem"

This configuration fails with an obscure message.

Private key == key
Public key == certificate
The accessprivatekeypath must point to a KEY file and the accesspublickeypath to a CERTIFICATE file

It would be helpful to change the example to:

[jwt]
expiration = 180
accessprivatekeypath = "/usr/local/festivals-identity-server/authentication-key.pem"
accesspublickeypath = "/usr/local/festivals-identity-server/authentication.pem"

Or more explicit to:

[jwt]
expiration = 180
accessprivatekeypath = "/usr/local/festivals-identity-server/authentication-key.pem"
accesspublickeypath = "/usr/local/festivals-identity-server/authentication-certificate.pem"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant