Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- openssl req -x509 -out cert.pem -keyout key.pem \
- -newkey rsa:2048 -nodes -sha256 \
- -subj '/CN=localhost' -extensions EXT -config <( \
- printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
- // After running this place the cert.pem in your SYSTEM keys in Keychain Access
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement