Skip to content

Instantly share code, notes, and snippets.

@merlinxcy
Created September 4, 2019 02:40
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 merlinxcy/2571536519465f31a79e212194c35460 to your computer and use it in GitHub Desktop.
Save merlinxcy/2571536519465f31a79e212194c35460 to your computer and use it in GitHub Desktop.
androidcerts7.0_for_catch_burp
#!/bin/sh
mkdir certs
cp /usr/lib/ssl/openssl.cnf ./
openssl req -x509 -days 730 -nodes -newkey rsa:2048 -outform der -keyout server.key -out ca.der -extensions v3_ca -config openssl.cnf
openssl rsa -in server.key -inform pem -out server.key.der -outform der
openssl pkcs8 -topk8 -in server.key.der -inform der -out server.key.pkcs8.der -outform der -nocrypt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment