Skip to content

Instantly share code, notes, and snippets.

@macteo
Created November 23, 2011 18:02
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 macteo/1389377 to your computer and use it in GitHub Desktop.
Save macteo/1389377 to your computer and use it in GitHub Desktop.
Alternative method with openssl
1. openssl genrsa -des3 -out ca.key 4096
2. openssl req -new -x509 -days 365 -key ca.key -out iPhone.crt
3. openssl genrsa -des3 -out server.key 4096
4. openssl req -new -newkey rsa:4096 -nodes -keyout server.key -out server.csr
5. openssl x509 -req -days 365 -in server.csr -CA iPhone.crt -CAkey ca.key -set_serial 01 -out server.passless.crt
6. openssl rsa -in server.key -out server.passless.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment