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 | |
# | |
# Generates a proper non-CA self-signed certificate for testing, default | |
# server stanzas, and so on. Based on Heroku tutorial here; | |
# | |
# https://devcenter.heroku.com/articles/ssl-certificate-self | |
# | |
# Single use only; generates a time-stamped server certificate, removes | |
# the root and CSR afterwards. | |
# |