Created
June 18, 2013 11:47
-
-
Save fovtran/5804720 to your computer and use it in GitHub Desktop.
export Personal certificate
This file contains 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 req -x509 -nodes -days 365 -newkey rsa:1024 -keyout /srv/src/private/mycert.pem -out /srv/src/private/mycert.pem | |
openssl pkcs12 -export -out /srv/src/certs/mycert.pfx -in /srv/src/private/mycert.pem -name "Personal Certificate" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment