Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Create Directory for Certificate File
- New-Item -Path 'C:\cert' -ItemType Directory
- # Change to that directory
- set-location C:\cert
- # Download Certificate From URL
- powershell -command "& { iwr https://webadmin.schoolsbroadband.net/webadmin/tools/download_proxy_cert.php -OutFile ca.crt }"
- # Install Certificate to Root
- Import-Certificate -FilePath "C:\cert\ca.crt" -CertStoreLocation Cert:\LocalMachine\Root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement