Hello, I'm trying to run the Ory tunnel with SSL. ...
# general
q
Hello, I'm trying to run the Ory tunnel with SSL. I used the command:
Copy code
ory tunnel --dev --project <projectId> https://<domain> --cookie-domain <domain>
When I try to access the whoami endpoint via that https domain I get the following error:
Copy code
Error: write EPROTO 4839707416:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../../../src/third_party/boringssl/src/ssl/tls_record.cc:242:
Am I missing a configuraiton? I tries to set a config file like this to point to the ssl keys but no luck:
Copy code
{
  "serve": {
    "public": {
      "tls": {
        "cert": {
          "path": "/<path>/cert.pem"
        },
        "key": {
          "path": "/<path>/privkey.pem"
        }
      }
    }
  }
}
Hi, Turns out the tunnel is serving on http still. I've tried to set the enabled flag to true in the config file but still no luck. Is it possible to get ory tunnel or ory proxy to serve on https given a cert and private key?
I resolved this make setting up a Nginx reverse proxy. Don’t need assistance anymore :)