Skip to content

[feat]: Enable add to work with mTLS-protected registries #8331

@peguerosdc

Description

@peguerosdc

Feature description

Hi! My use-case is the following:

At the company I work for, I want to create my own registry to distribute our component system. However, our internal servers require mTLS for any request, which means that if I wanted to consume the registry from my terminal, I would have to run something like:

curl -E ${CERTIFICATE_PATH} --cert-type ${CERTIFICATE_TYPE} https://host/r/component.json

So, when I try to hit it via npx shadcn@latest add ... I get an SSL error.

I know this is a very very specific request, but is there any chance this use-case could be supported? Would you be interested in it?

Affected component/components

No response

Additional Context

Additional details here...

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues and PRs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions