My domain missing SSL certificate

I just deployed a new Express app with Fly and I can’t reach the app at the domain it’s been assigned. I can reach the app at the ipv4 address ( on HTTP ), but the domain is unreachable because it’s missing a SSL certificate.

What can I do to resolve this?

It looks as if the Fly service that has to issue SSL certificates for domains isn’t working?

My deployment hangs after running the release command.

Hi @user60, to see what the issue is with the hanging deployment, could you post the logs you see? There should be a clue there. We also need to figure out if the release command itself is finishing successfully.

Regarding the SSL certification, could you post your section of fly.toml? The handlers will need to be configured as described in App Configuration (fly.toml) for TLS to work correctly.

Sure! My fly.toml file:

app = "my-app-production"

kill_signal = "SIGINT"
kill_timeout = 5
processes = []

PORT = "8080"

  release_command = "npx prisma migrate deploy --schema ./database/schema.prisma"

  allowed_public_ports = []
  auto_rollback = true

  http_checks = []
  internal_port = 8080
  processes = ["app"]
  protocol = "tcp"
  script_checks = []

    hard_limit = 25
    soft_limit = 20
    type = "connections"

    handlers = ["http"]
    port = 80

    handlers = ["tls", "http"]
    port = 443

    grace_period = "5s"
    interval = "15s"
    restart_limit = 0
    timeout = "2s"

Working now!

1 Like