]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
src/tlsproxy-add,src/tlsproxy-setup: Increase expiry date.
authorSimon Ruderich <simon@ruderich.org>
Fri, 12 Apr 2013 14:49:39 +0000 (16:49 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 12 Apr 2013 14:49:39 +0000 (16:49 +0200)
src/tlsproxy-add
src/tlsproxy-setup

index b57697aa322ae07f7f2262a0cd5942b554b71713..c838a9a35980c5a1ff5d26ab467287d75ac29960 100755 (executable)
@@ -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 \
index a17b390e1f924407784a295916669f9180c10d2d..a9e440b74f4a47c4db8dbddcfcf97de659cf0a41 100755 (executable)
@@ -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" \