From: Simon Ruderich Date: Fri, 12 Apr 2013 14:49:39 +0000 (+0200) Subject: src/tlsproxy-add,src/tlsproxy-setup: Increase expiry date. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=506cbe74344581542c5673b69b84363e72d0a3a0;p=tlsproxy%2Ftlsproxy.git src/tlsproxy-add,src/tlsproxy-setup: Increase expiry date. --- diff --git a/src/tlsproxy-add b/src/tlsproxy-add index b57697a..c838a9a 100755 --- a/src/tlsproxy-add +++ b/src/tlsproxy-add @@ -49,6 +49,7 @@ echo "cn = $1" >> "$tempfile" 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 \ diff --git a/src/tlsproxy-setup b/src/tlsproxy-setup index a17b390..a9e440b 100755 --- a/src/tlsproxy-setup +++ b/src/tlsproxy-setup @@ -32,6 +32,7 @@ certtool --generate-privkey \ 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" \ @@ -48,6 +49,7 @@ echo 'cn = invalid' >> "$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" \