I am having difficulty starting the ui-server.exe with tls configured in my production.yaml. The console output I get is this:
ui-server.exe --env production start
2025/05/22 14:20:07 Loading config; env=production,configDir=config
2025/05/22 14:20:07 Loading config files=[config/production.yaml]
2025/05/22 14:20:07 Loading config; env=production,configDir=config
2025/05/22 14:20:07 Loading config files=[config/production.yaml]
2025/05/22 14:20:07 Loaded CA cert from base64
2025/05/22 14:20:07 Loaded TLS key from base64
2025/05/22 14:20:07 Loaded TLS cert from base64
____ __
/ __/___/ / ___
/ _// __/ _ \/ _ \
/___/\__/_//_/\___/ v4.9.0
High performance, minimalist Go web framework
https://echo.labstack.com
____________________________________O/_______
O\
⇨ http server started on [::]:443
I have the following in the tls node:
…
tls:
caData: “LS0t…”
certData: “LS0”
keyData: “LS0”
enableHostVerification: true
serverName: tls-server
The cert data is truncated for brevity. When I try to connect to the server via the broswer I get the error:
The connection for this site is not secure
desktop-kephl4c sent an invalid response.
ERR_SSL_PROTOCOL_ERROR
When I remove the cert data then I can access the server without issue over http.
Advice would be appreciated.