Skip to content

fix(enterprise): ocsp get command hangs/times out #320

@joshrotenberg

Description

@joshrotenberg

Problem

The enterprise ocsp get command hangs and eventually times out.

Steps to Reproduce

redisctl enterprise ocsp get

# Command hangs indefinitely or times out

Expected Behavior

Should return the OCSP (Online Certificate Status Protocol) configuration for the cluster.

Likely Causes

  1. Incorrect endpoint path
  2. OCSP endpoints might only be available with specific security configurations
  3. Handler implementation issue

Investigation Needed

  • Verify the correct endpoint path: /v1/ocsp or /v1/cluster/ocsp
  • Test with raw API: redisctl api enterprise get /v1/ocsp
  • Check if OCSP requires specific cluster security settings

Acceptance Criteria

  • Command returns OCSP config or appropriate "not configured" message
  • Doesn't hang or timeout
  • Add integration test for this command

Part of #315

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions