How to use SSL directly with Nakama Unity?

I am currently working on a Unity Project and I need to use SSL with my game. I have added SSL keys to my docker-compose config that I generated using OpenSSL. In my game code I set my scheme to “https”, but whenever I try to authenticate a session over my client I get an error “ApiResponseException: Unable to complete SSL connection”.

@EenDev It would help if you share your docker-compose config and any server logs from startup, otherwise it’s hard to know what might be wrong. At the very least we need to see how the SSL configuration was passed to Nakama and the logs that show it was loaded correctly.

(Side note: please keep in mind we usually recommend using a load balancer or proxy in front of Nakama to terminate SSL before forwarding traffic to the server.)