Skip to content

A2A cert retrieval fails on curl 8.x: version parse drops --http1.1 (HTTP/2) #107

Closed

Description

@DanPeterson

Summary

Certificate-based A2A retrieval fails on curl 8.x because the curl-version parsing in src/utils/a2a.sh incorrectly drops the --http1.1 flag on curl >= 7.33. Without --http1.1, curl 8.x negotiates HTTP/2, over which client-certificate presentation via TLS renegotiation / post-handshake auth is prohibited (RFC 8740), so the request reaches the service without a validated client certificate and fails (60094 Authorization is denied).

This is a standalone SDK bug. It bites on modern curl regardless of TLS version, and is more visible under SPP 9.0 (TLS 1.3), but the root cause is the version-parse logic, not the appliance.

Root cause (SDK side)

The version comparison used to decide whether to pass --http1.1 mis-handles curl version strings at/after 7.33 (and 8.x), so the flag is omitted on versions that actually support and need it. The intent is to force HTTP/1.1 for the cert-auth call.

Proposed fix

  • Correct the curl version comparison so --http1.1 is forced for all curl >= 7.33 (including 8.x) on the certificate-auth / A2A path. (Fix prototyped during validation.)
  • Optionally expose an explicit HTTP-version opt-in for callers who want to override.

Acceptance

  • On curl 8.x, cert-based A2A retrieval succeeds (request uses HTTP/1.1).
  • Version-parse logic covered so the regression can't silently return.

Activity

  1. added a commit that references this issue on Sep 8, 2026
    f0ea583
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions