Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (7 sloc) 236 Bytes
#!/bin/bash
#
# Regenerates a self-signed certificate for testing purposes.
openssl genrsa -out key.pem 2048
openssl req -new -key key.pem -out csr.pem
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
rm csr.pem