Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- n=razi91
- openssl genrsa -out $n.key
- openssl rsa -pubout -in $n.key -out $n.pub
- openssl req -new -sha256 -key $n.key -subj '/CN=127.0.0.1/' -out $n.csr
- openssl x509 -req -in $n.csr -signkey $n.key -out $n.crt -days 30
Add Comment
Please, Sign In to add comment