Advertisement
liamrobinson

Untitled

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