echo tls_www_server >> "$tempfile"
echo encryption_key >> "$tempfile"
echo signing_key >> "$tempfile"
+echo 'expiration_days = 3650' >> "$tempfile"
certtool --generate-certificate \
--load-privkey proxy-key.pem \
--load-ca-certificate proxy-ca.pem \
echo 'cn = tlsproxy CA' > "$tempfile"
echo ca >> "$tempfile"
echo cert_signing_key >> "$tempfile"
+echo 'expiration_days = 3650' >> "$tempfile"
certtool --generate-self-signed \
--load-privkey proxy-ca-key.pem \
--template "$tempfile" \
echo tls_www_server >> "$tempfile"
echo encryption_key >> "$tempfile"
echo signing_key >> "$tempfile"
+echo 'expiration_days = 3650' >> "$tempfile"
certtool --generate-self-signed \
--load-privkey proxy-key.pem \
--template "$tempfile" \