Export-CertBundle

1.0

In many enterprise environments, Netskope inspects HTTPS traffic by decrypting and re-signing
connections with an enterprise certificate. Windows usually trusts that certificate because it
is in the OS certificate store.

The problem: many developer tools (Python, Node.js, curl, Git, containerized apps) do not
always use the Windows certificate store directly. They of
In many enterprise environments, Netskope inspects HTTPS traffic by decrypting and re-signing
connections with an enterprise certificate. Windows usually trusts that certificate because it
is in the OS certificate store.

The problem: many developer tools (Python, Node.js, curl, Git, containerized apps) do not
always use the Windows certificate store directly. They often expect a PEM certificate bundle.
That mismatch causes TLS errors even when your browser works.
See: https://community.netskope.com/next-gen-swg-2/configuring-developer-tools-with-netskope-ssl-inspection-8493

This script exports trusted CA certificates from Windows stores and writes them into one PEM
bundle file (default: corp_certs.pem). You can point tools to this file to mitigate TLS trust
failures caused by interception.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Export-CertBundle

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • david.ramos@hotmail.com

Tags

Certificate PEM TLS SSL Netskope Proxy WSL Docker TrustStore CorporateNetwork DevTools HTTPS

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.0 (current version) 6 4/17/2026