Tried using “HTTPS_TLS_CERT_PATH” “HTTPS_TLS_KEY_PATH” and the .hydra.yaml file. Neither one work with the container.
When trying to connect to https://server.example.com:9000/oauth2/auth, hydra is using cert from ORY.
I can see hydra is able to read /root/.hydra.yaml fine, since the log format changed to json after I put in the changes and restarted the container.
~ # cat .hydra.yml
log:
level: info
format: json
tls:
key:
path: /etc/ssl/certs/key.pem
cert:
path: /etc/ssl/certs/cert.pem