X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Ftlsproxy-setup;fp=src%2Ftlsproxy-setup;h=a9e440b74f4a47c4db8dbddcfcf97de659cf0a41;hb=506cbe74344581542c5673b69b84363e72d0a3a0;hp=a17b390e1f924407784a295916669f9180c10d2d;hpb=c98db32cbc4a3f7e4b655aacfbc503639bb8379c;p=tlsproxy%2Ftlsproxy.git 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" \