Skip to content

Commit

Permalink
chore: add zscaler root certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed May 17, 2024
1 parent 76fe93c commit fa10cbc
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 43 deletions.
10 changes: 9 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
ARG VARIANT="jammy"
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}

# Install additional OS packages, if needed.
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates

# zScaler certificate, for all busy engineers
ADD zscaler.pem /usr/local/share/ca-certificates/zscaler.crt
RUN sudo chmod 644 /usr/local/share/ca-certificates/zscaler.crt && sudo update-ca-certificates

# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install protobuf-compiler
# && apt-get -y install protobuf-compiler
28 changes: 28 additions & 0 deletions .devcontainer/zscaler.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN CERTIFICATE-----
MIIE0zCCA7ugAwIBAgIJANu+mC2Jt3uTMA0GCSqGSIb3DQEBCwUAMIGhMQswCQYD
VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTERMA8GA1UEBxMIU2FuIEpvc2Ux
FTATBgNVBAoTDFpzY2FsZXIgSW5jLjEVMBMGA1UECxMMWnNjYWxlciBJbmMuMRgw
FgYDVQQDEw9ac2NhbGVyIFJvb3QgQ0ExIjAgBgkqhkiG9w0BCQEWE3N1cHBvcnRA
enNjYWxlci5jb20wHhcNMTQxMjE5MDAyNzU1WhcNNDIwNTA2MDAyNzU1WjCBoTEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExETAPBgNVBAcTCFNhbiBK
b3NlMRUwEwYDVQQKEwxac2NhbGVyIEluYy4xFTATBgNVBAsTDFpzY2FsZXIgSW5j
LjEYMBYGA1UEAxMPWnNj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rv3WnbkYcFf9xjuaf4z0hRCrLN2
xFNjavxrHmsH8jPHVvgc1VD0Opja0l/BRVauTrUaoW6tE+wFG5rEcPGS80jjHK4S
pB5iDj2mUZH1T8lzYtuZy0ZPirxmtsk3135+CKNa2OCAhhFjE0xd
-----END CERTIFICATE-----
55 changes: 13 additions & 42 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Created by https://www.toptal.com/developers/gitignore/api/go,node,macos,intellij,webstorm,yarn,nextjs
# Edit at https://www.toptal.com/developers/gitignore?templates=go,node,macos,intellij,webstorm,yarn,nextjs
# Created by https://www.toptal.com/developers/gitignore/api/go,node,yarn,macos,intellij,webstorm
# Edit at https://www.toptal.com/developers/gitignore?templates=go,node,yarn,macos,intellij,webstorm

### Custom ###
*.creds
*.jwt

### Go ###
# If you prefer the allow list template instead of the deny list, see community template:
Expand All @@ -15,14 +19,11 @@
# Test binary, built with `go test -c`
*.test

# Output of the go coverage ctool, specifically when used with LiteIDE
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
*.creds
*.jwt

# Dependency directories (remove the comment below to include it)
# vendor/
tmp

# Go workspace file
go.work
Expand Down Expand Up @@ -173,46 +174,15 @@ Temporary Items
# iCloud generated files
*.icloud

### NextJS ###
# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down Expand Up @@ -253,6 +223,7 @@ jspm_packages/
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm
Expand Down Expand Up @@ -435,4 +406,4 @@ dist
# and uncomment the following lines
# .pnp.*

# End of https://www.toptal.com/developers/gitignore/api/go,node,macos,intellij,webstorm,yarn,nextjs
# End of https://www.toptal.com/developers/gitignore/api/go,node,yarn,macos,intellij,webstorm

0 comments on commit fa10cbc

Please sign in to comment.