probo icon indicating copy to clipboard operation
probo copied to clipboard

Cannot start application with dev settings due to failure to verify "localhost" certificate

Open emimoir opened this issue 8 months ago • 2 comments

Entering bin/probod -cfg-file cfg/dev.yaml into terminal returns error message, bottom line of which is panic: cannot initialize ACME service: cannot register ACME account: cannot register account: Get "https://localhost:14000/dir": tls: failed to verify certificate: x509: “localhost” certificate is not trusted

Cannot open application with local host address, so can't run app in dev settings at all.

emimoir avatar Apr 06 '26 13:04 emimoir

Hi @emimoir, thanks for reporting.

That error comes from the local Pebble ACME CA (running in docker compose) whose TLS cert isn't trusted by probod. We pushed a few fixes to the compose configuration this week that may address it.

Could you:

  1. Pull the latest main.
  2. Bring the stack fully down and back up: make stack-down && make stack-up.
  3. Re-run bin/probod -cfg-file cfg/dev.yaml.

If you still see the same panic, please share:

  • Your OS and architecture.
  • The output of docker compose ps and docker compose logs pebble after make stack-up.
  • The full probod startup log (not just the last line).
  • Whether you have any custom SSL_CERT_FILE, SSL_CERT_DIR, or proxy env vars set.

Thanks!

gearnode avatar Apr 17 '26 16:04 gearnode

Hi @gearnode thank you for your reply, and great it does work!

emimoir avatar Apr 17 '26 21:04 emimoir