Sha256: b88448601f9e6ece4b36e70d76b5797acfc64e9f408cde133af79f30aea8bb6e
Contents?: true
Size: 508 Bytes
Versions: 3
Compression:
Stored size: 508 Bytes
Contents
#! /bin/sh set -e trap ERROR ERR mkdir -p /var/certs mv /tmp/monit.cnf /var/certs/monit.cnf echo "Generating PEM..." openssl req -new -x509 -days 365 -nodes -config /var/certs/monit.cnf -out /var/certs/monit.pem -keyout /var/certs/monit.pem -batch > /var/certs/debug_req.log openssl gendh 512 >> /var/certs/monit.pem 2> /var/certs/debug_gendh.log echo "Generating x509..." openssl x509 -subject -dates -fingerprint -noout -in /var/certs/monit.pem > /var/certs/debug_x509.log chmod 700 /var/certs/monit.pem
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capitate-0.1.7 | lib/templates/monit/cert.sh |
capitate-0.1.8 | lib/templates/monit/cert.sh |
capitate-0.1.9 | lib/templates/monit/cert.sh |