PC_Aide

Creat self Singature Certificate.ps1

Mar 31st, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <#
  2. -------------------------------------------------------------------------------------------------------------------------
  3.     SRC: https://support.jetglobal.com/hc/en-us/articles/235636308-How-To-Create-a-SHA-256-Self-Signed-Certificate
  4.     Elevated: Y
  5.     Syntax:
  6.  
  7.     Warninng:
  8.     A new certificate can only be installed into My store
  9.     Localtion\My --> Intermediate Certification Authorities
  10.  
  11.     O/P: https://imgur.com/lYQ2zX8
  12.  
  13.    
  14.     File extension *.pfx
  15.     Export --> need password -> (O/P: https://imgur.com/sffZKNF)
  16.     Import --> Cryto Shell Extensions
  17. -------------------------------------------------------------------------------------------------------------------------
  18. ◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼
  19.     mp4:
  20. ◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼
  21. #>
  22.  
  23. New-SelfSignedCertificate –DnsName <FQDN> -CertStoreLocation “cert:\LocalMachine\My”
Add Comment
Please, Sign In to add comment