More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Repair TLS, Certificate & Trust Failures

    1

    Repair TLS, Certificate & Trust Failures is a bounded ToolForge Labs workflow.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair TLS, Certificate & Trust Failures

    Repair TLS, Certificate & Trust Failures

    Example session with this skill installed

    Our Go service is failing to connect to a legacy internal API with 'x509: certificate signed by unknown authority'. Here is the connection snippet and the internal CA cert.

    • Read your context and instructions
    • Compiled the repair tls certificate

    I have analyzed the Go connection logic and the provided CA certificate. The issue stems from the service using the system default trust store rather than a custom pool containing your internal CA, and a mismatch in the expected SNI for the legacy endpoint.

    TLS Trust and SNI Repair

    ComponentStatusRecommendation
    Root CAValidFound in provided snippet; must be injected into a custom x509.CertPool.
    ChainIncompleteThe legacy API is not sending intermediates; the client must explicitly trust the internal Root.
    Hostname/SNIMismatchThe connection attempt uses the IP; the certificate requires the internal FQDN via ServerName.
    VerificationActiveKeep InsecureSkipVerify: false to maintain security posture.

    Proposed Go Repair

    // Create a custom cert pool for the internal CA
    certPool, _ := x509.SystemCertPool()
    if certPool == nil {
        certPool = x509.NewCertPool()
    }
    
    // Append the internal CA provided in your logs
    if ok := certPool.AppendCertsFromPEM(internalCACert); !ok {
        log.Fatal("failed to append internal CA cert")
    }
    
    // Configure Transport with specific ServerName for SNI
    tlsConfig := &tls.Config{
        RootCAs:            certPool,
        ServerName:         "legacy-api.internal.local", // Explicitly set for SNI match
        InsecureSkipVerify: false,                     // Security preserved
        MinVersion:         tls.VersionTLS12,
    }
    
    client := &http.Client{
        Transport: &http.Transport{TLSClientConfig: tlsConfig},
    }
    

    Deterministic Test Case

    func TestLegacyConnection(t *testing.T) {
        // Local test server simulating the legacy CA chain
        server := httptest.NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.T) {
            w.WriteHeader(http.StatusOK)
        }))
        server.TLS = &tls.Config{Certificates: []tls.Certificate{internalCert}}
        server.StartTLS()
        defer server.Close()
    
        // Test logic ensures the handshake completes without disabling verification
    }
    

    Next steps

    1. Verify the internal-api.internal.local FQDN matches the SAN field in your certificate.
    2. Deploy the updated tls.Config to your staging environment to confirm the custom pool loads correctly.
    3. Ensure the internalCACert PEM is injected via a secure environment variable or secret mount.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Repair TLS, Certificate & Trust Failures is a bounded ToolForge Labs workflow. Repair TLS and certificate failures across chain building, hostname/SNI checks, trust stores, client certificates, rotation overlap, protocol compatibility, and environment drift. Works from repositories or partial handshake/config evidence. Produces secure bounded repairs and tests without disabling certificate or hostname verification. It works from a full repository or partial evidence such as snippets, logs, configuration, traces, tickets, and architecture notes. The skill preserves existing product and security policy, separates verified facts from assumptions, avoids invented execution claims, and produces concrete repair or review steps with focused deterministic validation or traceable evidence.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Cannot verify production systems, external services, or facts that are not present in supplied evidence. With partial context it returns bounded diagnosis/review, explicit assumptions, and a deterministic validation plan rather than claiming successful execution.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 months ago

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Use a clean branch or a controlled review workspace. Supply repository files, logs, traces, configuration, or evidence needed for the task. Review all patches/findings before merge or operational action; keep production credentials and destructive production actions out of the workflow.

    Listed2 months ago
    Updated9 days ago

    What's inside

    Frequently Asked Questions

    This skill diagnoses and fixes broken certificate chains, SNI mismatches, expired trust stores, and protocol incompatibilities using either your source code or partial logs and configuration traces.

    No, this skill is specifically designed to produce secure repairs that maintain full verification; it avoids 'quick fixes' like disabling SSL/TLS checks that would leave your application vulnerable.

    The skill is compatible with any AI agent or LLM that supports ToolForge Labs workflows and can process code repositories, snippets, or structured log files.

    You can provide a full Git repository for a comprehensive fix, or simply input partial evidence such as handshake logs, configuration snippets, or architecture notes if the full source isn't available.

    Every purchase includes the bounded ToolForge Labs workflow, a suite of deterministic validation tests to verify the fix, and documentation on how to apply the repairs without breaking existing security policies.

    The skill identifies 'environment drift' by comparing your current configuration against known secure standards, ensuring that rotation overlaps or legacy protocol settings aren't causing silent failures.

    New in APIs & Backend