Skip to content

Unable to create auth context using HTTPS URL when certificate is not valid #184

Open
@dustinvanbuskirk

Description

@dustinvanbuskirk

Steps to reproduce:
Run command below using a Codefresh instance with an invalid cert.
codefresh auth create-context --url https://<website> --api-key <api_key>

Results: Error - API Key is not valid

Expected Results: Error - unable to verify the first certificate

This error is what is shown if you add context manually the error when running auth create-context is not helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions