Last active
October 17, 2017 19:32
-
-
Save lethak/7338c4a89f0ac9298ec3ff278e2243ed to your computer and use it in GitHub Desktop.
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/bash | |
winpty openssl genrsa -des3 -out server.key 1024 | |
winpty openssl req -new -key server.key -out server.csr | |
winpty openssl x509 -req -days 1024 -in server.csr -signkey server.key -out server.crt | |
# removing the passphrase for some version of apache on windows | |
winpty openssl rsa -in server.key -out server_withoutpassphrase.key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@see https://stackoverflow.com/questions/4221874/how-do-i-allow-https-for-apache-on-localhost