Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active June 30, 2020 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/387a4e8cb1c39e67fb9cf6c2abf1272b to your computer and use it in GitHub Desktop.
Save bjoerntx/387a4e8cb1c39e67fb9cf6c2abf1272b to your computer and use it in GitHub Desktop.
New-SelfSignedCertificate -Type Custom -Subject "CN=Text Control, O=Text Control, C=US" -KeyUsage DigitalSignature -FriendlyName "TextControlSelf" -CertStoreLocation "Cert:\CurrentUser\My" -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment