Skip to content

Instantly share code, notes, and snippets.

View carlfriedrich's full-sized avatar

Tim carlfriedrich

View GitHub Profile
@carlfriedrich
carlfriedrich / import_windows_certificates_to_wsl.sh
Last active July 19, 2024 07:18
import-windows-certificates-to-wsl
#!/usr/bin/env bash
# This script exports certain certificates from Windows and installs them in WSL.
# It can be run from WSL using the following command:
#
# bash -c "$(wget -O - https://gist.githubusercontent.com/carlfriedrich/9739617ce9df86a0c439ac51442ec32d/raw)"
#
CERTIFICATES=(
"ZEIT-SRV-CA"