Skip to content

Support SPP 9.0 TLS 1.3: apply --http1.1 consistently and add optional TLS 1.3 enforcement #109

Closed

Description

@DanPeterson

Summary

SPP 9.0 enables TLS 1.3. safeguard-bash authenticates successfully against 9.0 today (libcurl/OpenSSL negotiates the post-handshake client cert automatically), but HTTP-version pinning is applied inconsistently and there is no way to require TLS 1.3.

Changes

1. Apply --http1.1 consistently

On the Standard binding, cert-based auth requires HTTP/1.1 -- HTTP/2 disallows the post-handshake certificate request. connect-safeguard.sh already sets --http1.1 for certificate login (gated on libcurl >= 7.33), but the general request path in invoke-safeguard-method.sh (the curl -K calls) and the A2A cert-retrieval path do not. Apply the same --http1.1 flag across all curl invocations so cert-auth works regardless of ingress.

2. Optional TLS 1.3 enforcement

Add an opt-in flag (e.g. -3 / SAFEGUARD_TLS13) that passes --tlsv1.3 to curl, so callers can require TLS 1.3. Default behavior is unchanged.

3. Documentation

Document 9.0 TLS behavior, HTTP/1.1 pinning, and the new enforcement flag in src/README.md.

Acceptance criteria

  1. Default connect + cert-auth (including A2A credential retrieval) succeeds against a 9.0 appliance with no extra flags.
  2. All curl invocations negotiate HTTP/1.1 where libcurl supports the flag.
  3. With TLS 1.3 enforcement enabled, sub-1.3 connections fail; cert-auth still succeeds at 1.3.
  4. Existing default behavior is unchanged.

Testing

Validate against a live 9.0 appliance: token-auth via invoke-safeguard-method.sh and cert-auth via A2A credential retrieval.

Activity

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