Unable to load SSL cert and key

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 
  level: info
  format: json
    path: /etc/ssl/certs/key.pem
    path: /etc/ssl/certs/cert.pem

You need to properly indent the file :slight_smile: See example: https://github.com/ory/hydra/blob/master/docs/config.yaml#L198

It is properly indented with spaces. Some how the blockquote in this site doesn’t like spaces (fixed).
As mentioned, it was able to understand json as the log format.