Skip to content

Feature req: Self signed certs / corporate proxy certs local #1352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PDXPuma opened this issue May 2, 2025 · 1 comment
Open

Feature req: Self signed certs / corporate proxy certs local #1352

PDXPuma opened this issue May 2, 2025 · 1 comment
Assignees

Comments

@PDXPuma
Copy link

PDXPuma commented May 2, 2025

One of the big blockers for me and my org regarding devcontainer adoption is around company based certs built around traffic inspection.

(Think Zscaler, etc, others that use a wildcard cert in the middle to inspect traffic to sites)

A potential fix for this would be a feature that allowed one to point to a file in the devcontainer directory, and that file could be injected/updated etc, for as many means as possible.

Feature options could include whether or not to add it to the NODE env variables to pick it up, adding it to the system certificate store, adding it to java stores, or adding it to various places with custom commands as needed by the various cert stores that get used in dev environments.

This would allow us to incorporate devcontainers faster in onboarding as we could locate the crts outside the repos and reference them from inside the devcontainers.

@Kaniska244 Kaniska244 self-assigned this May 6, 2025
@Kaniska244 Kaniska244 added the enhancement New feature or request label May 7, 2025
@Kaniska244
Copy link
Contributor

Kaniska244 commented May 7, 2025

Hello @PDXPuma ,

Thank you for this new feature request. Would you kindly elaborate further on the below points for this?

  • What would be the format(.pem, .crt, .der, .cer, .pfx, .p12 etc) of the input certificates & how would they be given to the feature as input?

  • Would you kindly elaborate further on adding it to various places with custom commands as needed by the various cert stores that get used in dev environments and specify the exact requirement in this regard?

  • When it comes to adding certificates to NODE env variables, do you mean adding the certificates to NODE env variable NODE_EXTRA_CA_CERTS. Also while adding the certificates to this variable, multiple certificates content have to be copied into a .pem file. Would such a .pem file be also given in the input or is it expected to be converted as part of the feature from other format provided in the input?

  • While adding the certs in java store, would the file be provided in .jks format or is it expected to be converted as part of the feature from other format provided in the input?

@Kaniska244 Kaniska244 added needs-more-info and removed enhancement New feature or request labels May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants