Skip to content

Instantly share code, notes, and snippets.

@yildirima
Created March 18, 2019 06:43
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 yildirima/1daae30e8c774996e68a7acc07e82eac to your computer and use it in GitHub Desktop.
Save yildirima/1daae30e8c774996e68a7acc07e82eac to your computer and use it in GitHub Desktop.
##Windows##
set OPENSSL_CONF=openssl.cnf
##Linux###
export OPENSSL_CONF=openssl.cnf
##Windows or Linux##
openssl x509 -req -days 760 -in Client.csr -CA RootCA.crt -CAkey RootCA.pem -CAcreateserial -out Client.crt -extfile openssl.cnf -extensions usr_cert -sha256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment