Skip to content

Instantly share code, notes, and snippets.

View theepicsaxguy's full-sized avatar

theepicsaxguy

View GitHub Profile
@emilwojcik93
emilwojcik93 / Auto-Install-CertificatesInWSL.ps1
Last active December 3, 2025 13:02
The script searches for certificates with a specific description pattern. It exports each certificate, installs them in WSL, and checks the response using curl. If the response is not correct, it tries the next certificate from the results. If the list is done and WSL still responds with an incorrect answer, it throws an error.
#Requires -Version 5.1
<#
.SYNOPSIS
Universal Corporate Certificate Installer for WSL and Development Environments
.DESCRIPTION
A comprehensive, generic script for automatically installing corporate certificates
in WSL distributions and configuring development environments. Designed to work
across different corporate environments without containing sensitive data.