Outlook OAuth fails in official EspoCRM 10.0.2 Docker image due to TLS 1.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • timmunn
    Junior Member
    • Jan 2026
    • 2

    #1

    Outlook OAuth fails in official EspoCRM 10.0.2 Docker image due to TLS 1.3

    Environment:
    • EspoCRM 10.0.2
    • Official image: espocrm/espocrm:10.0.2
    • Debian 13.5
    • PHP 8.4.23
    • cURL 8.14.1
    • OpenSSL 3.5.6

    Outlook OAuth token requests return:
    HTTP/1.1 404 NotFound

    This affects all Outlook-connected mailboxes and calendar sync.

    Testing shows:
    VPS host request -> 200 OK
    Fresh curl container on same Docker network -> 200 OK
    EspoCRM container using default TLS -> 404 NotFound
    EspoCRM container capped to TLS 1.2 -> 200 OK

    The same behaviour occurs against both the tenant-specific and organizations Microsoft endpoints. The client ID, secret, redirect URI and admin consent are valid.

    This appears to be a TLS 1.3 interoperability issue in the current official container runtime. Forcing PHP cURL to TLS 1.2 resolves the Microsoft endpoint request. Has anyone else encountered this, and is a rebuilt image or supported workaround planned?
  • lazovic
    Super Moderator
    • Jan 2022
    • 1233

    #2
    Hi timmunn,

    Could you please provide the output of the following commands for more detailed analysis?

    Code:
    docker exec -it {ESPOCRM_CONTAINER} curl -ivs --tlsv1.2 https://login.microsoftonline.com 2>&1 | grep "SSL connection"
    Code:
    docker exec -it {ESPOCRM_CONTAINER} curl -ivs --tlsv1.3 https://login.microsoftonline.com 2>&1 | grep "SSL connection"

    Comment

    • lazovic
      Super Moderator
      • Jan 2022
      • 1233

      #3
      timmunn,

      Please note that I've tested the calendar and email integration on the latest versions of EspoCRM and Outlook Integration extension in the Docker environment, and everything works fine.

      If you share any details about any errors or issues you're experiencing, we'll be happy to help resolve them.

      Comment

      Working...