Skip to content

Instantly share code, notes, and snippets.

@bjesuiter
Created November 24, 2022 12:39
Show Gist options
  • Save bjesuiter/84de93218035dd0cbb9b3bc7a7c9665e to your computer and use it in GitHub Desktop.
Save bjesuiter/84de93218035dd0cbb9b3bc7a7c9665e to your computer and use it in GitHub Desktop.
Deno behind Corporate Proxy
  1. Instructions: https://dev.to/jacobgc/deno-and-the-corporate-proxy-2p32
  2. Add HTTP_PROXY and HTTPS_PROXY Variables
  3. Get your corporate certificate:
  4. Instructions: https://smarie.github.io/develop-behind-proxy/know_your_proxy/#advanced-proxies-that-modify-the-ssl-certification-chain
  5. Run deno wth cert: deno run --cert C:/corporateCerts.pem https://deno.land/std/examples/welcome.ts

Alternative:

Use Proxy in HTTP_PROXY and HTTPS_PROXY with basic auth (Proxy Address: http://username:password@proxy.internal-url.de:port)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment