SSL/TLS How to force TLS 1.2

I’m currently in the process of migrating an API from AWS to Fly. While working on this, I encountered an issue with a consumer in VB.NET. The error indicates a closed connection, which we suspect might be due to TLS 1.3 compatibility issues. Unfortunately, VB.NET supports only TLS 1.2.

[http_service]
  internal_port = 8080
  auto_stop_machines = false
  auto_start_machines = true
  min_machines_running = 0
  processes = ['app']

  [http_service.tls_options]
    alpn = ['h2', 'http/1.1']
    versions = ['TLSv1.2']
    default_self_signed = false

[[services]]
  protocol = 'tcp'
  internal_port = 8080

[[services.ports]]
    port = 443
    handlers = ['tls', 'http']

    [services.ports.tls_options]
      alpn = ['h2', 'http/1.1']
      versions = ['TLSv1.2']

  [services.concurrency]
    hard_limit = 25
    soft_limit = 20

I tried to force this in fly.toml, but I was unsuccessful.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.