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

Passing key and certificate to hydra #88

Closed
janekolszak opened this issue Jun 2, 2016 · 5 comments
Closed

Passing key and certificate to hydra #88

janekolszak opened this issue Jun 2, 2016 · 5 comments
Assignees
Labels
feat New feature or request.
Milestone

Comments

@janekolszak
Copy link

As discussed here: https://groups.google.com/forum/#!topic/ory-hydra/GmAR-9yUALo

Please add a way to pass Hydra key and certificate on startup. For example

hydra host --key key.pem --cert cert.pem
@aeneasr aeneasr added the feat New feature or request. label Jun 3, 2016
@aeneasr aeneasr self-assigned this Jun 3, 2016
@aeneasr aeneasr added this to the 0.1-beta2 milestone Jun 3, 2016
@aeneasr
Copy link
Member

aeneasr commented Jun 3, 2016

additionally, keys should be passed through env vars

TLS_KEY_PATH
TLS_CERT_PATH

@janekolszak
Copy link
Author

and saved I guess in case hydra is restarted

@aeneasr
Copy link
Member

aeneasr commented Jun 3, 2016

the keys will be imported to the JWK store. we need to figure out if the key from JWK store overrides the key from disk when changed or the other way around

@aeneasr
Copy link
Member

aeneasr commented Jun 3, 2016

it's probably smarter to call the option import-tls-key instead.

@aeneasr
Copy link
Member

aeneasr commented Jun 4, 2016

upstream #92

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants