Skip to content

TLS certificate verification failed + HTTP 405 for freebuff.com API #787

@CodHard845

Description

@CodHard845

Problem:

When using the CLI to authenticate, I get:
Error: TLS certificate verification failed for https://freebuff.com
If your network intercepts HTTPS traffic, install its root certificate into your system trust store
or use a network path that does not intercept TLS.
Original error: self signed certificate in certificate chain
(POST https://freebuff.com/api/auth/cli/code)

Please restart the CLI and try again

My Analysis:

After performing network analysis, I found:

  • HTTP/1.1 405 Method Not Allowed response from the server
  • This indicates a software-side problem, not a network issue

The combination of "self signed certificate in certificate chain" + HTTP 405 suggests:

  1. The API endpoint /api/auth/cli/code may not support the POST method
  2. Or the server returns an invalid/self-signed certificate instead of the expected error response

Environment:

  • Operating System: Windows 11
  • CLI Version: 0.0.104
  • Network: No TLS interception configured

Expected Behavior:
The CLI should successfully authenticate with freebuff.com without TLS certificate errors.

Steps to Reproduce:

  1. Install CLI: cd your-project codebuff
  2. Run CLI authentication
  3. See TLS error + HTTP 405

Additional Info:
The HTTP 405 confirms this is a server-side configuration issue where the POST method is not allowed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions