Created
May 12, 2014 03:47
-
-
Save 6f70/3b968fdb33155ae746f2 to your computer and use it in GitHub Desktop.
shell script for generating burp-importable cert/key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| openssl genrsa -out ca.key 2048 | |
| openssl req -new -key ca.key -out ca.csr | |
| openssl x509 -days 3650 -signkey ca.key -in ca.csr -req -out ca.crt | |
| openssl pkcs8 -topk8 -nocrypt -in ca.key -outform der -out cakey.der | |
| openssl x509 -in ca.crt -outform der -out cacert.der |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment