Sha256: 8ae926be318291f09cd66f4ff1708529b2e220cd79d22267994dd633aa6e38ec
Contents?: true
Size: 456 Bytes
Versions: 4
Compression:
Stored size: 456 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 > debug_req.log openssl gendh 512 >> /var/certs/monit.pem echo "Generating x509..." openssl x509 -subject -dates -fingerprint -noout -in /var/certs/monit.pem > debug_x509.log chmod 700 /var/certs/monit.pem
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
capigen-0.1.1 | templates/monit/cert.sh |
capigen-0.1.2 | lib/templates/monit/cert.sh |
capigen-0.1.3 | lib/templates/monit/cert.sh |
capigen-0.1.4 | lib/templates/monit/cert.sh |