Skip to content

Instantly share code, notes, and snippets.

@FabianoCampos
Created September 21, 2018 16:19
Show Gist options
  • Save FabianoCampos/9492d6219763660a9f2ce4a2ba393e03 to your computer and use it in GitHub Desktop.
Save FabianoCampos/9492d6219763660a9f2ce4a2ba393e03 to your computer and use it in GitHub Desktop.
Gerar assinatura digital
Efetuar download do openssl
http://slproweb.com/products/Win32OpenSSL.html
================================
Comando 1:
genrsa -des3 -out fabiano.key 4096
Comando 2:
req -new -x509 -days 3650 -key fabiano.key -out fabiano.crt
Comando 3:
pkcs12 -export -out fabiano.pfx -inkey fabiano.key -in fabiano.crt -certfile fabiano.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment