Skip to content

Instantly share code, notes, and snippets.

@sandikodev
Created June 2, 2021 13:44
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 sandikodev/89b83d70e6eae4ba6c564f2eada583e6 to your computer and use it in GitHub Desktop.
Save sandikodev/89b83d70e6eae4ba6c564f2eada583e6 to your computer and use it in GitHub Desktop.
#create public key
openssl req -x509 -new -nodes -keyout pub.key -out pub.pem
#create keynodes
openssl req -new -nodes -keyout nas.key -out nas.pem
#register keynodes to publickey
openssl x509 -req -CA pub.pem -CAkey pub.key -in nas.pem -out nas.crt -set_serial 01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment