Guest User

Untitled

a guest
Oct 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. n=razi91
  4.  
  5. openssl genrsa -out $n.key
  6. openssl rsa -pubout -in $n.key -out $n.pub
  7. openssl req -new -sha256 -key $n.key -subj '/CN=127.0.0.1/' -out $n.csr
  8. openssl x509 -req -in $n.csr -signkey $n.key -out $n.crt -days 30
Add Comment
Please, Sign In to add comment