We’re trying to set up tyk dashboard as inside docker configured by env-file. Most properties work fine but I’m unsure how to set the certificates for ssl-usage that way since the examples on the documentation are only for the conf-file.
What we’re trying is declare it like this:
TYK_DB_HTTPSERVEROPTIONS_CERTIFICATES=domain_name:*.banana.com,cert_file:/opt/tyk/dashboard/cert.pem,key_file:/opt/tyk-dashboard/cert.pem.key
(they actual cert-files are mounted inside the container and I’ve checked that they’re actually there, but dashboard quit with the following error:
“level=info msg=”–> Using SSL (https) for dashboard and API"
"level=fatal msg=“Server error: loadkeys: open : no such file or directory”
Unfortunately, that doesn’t seem to resolve the problem either. I think the sensible step for us will be to switch to mounting the full conf-file instead of using an env-File, since that seems to be most common way.
I agree with you. Mounting the config file is the way to get around it at the moment. I have checked internally and we are working on this but no finalized ETA. I will update this thread once I get feedback