From: Simon Ruderich Date: Fri, 12 Jul 2013 13:47:26 +0000 (+0200) Subject: tlsproxy-setup: Fix --sec-param for older certtool versions. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=33933ff752898dca2d5e5a7b995d129313716d5c;p=tlsproxy%2Ftlsproxy.git tlsproxy-setup: Fix --sec-param for older certtool versions. --- diff --git a/src/tlsproxy-setup b/src/tlsproxy-setup index ff5d3bd..4b57a22 100755 --- a/src/tlsproxy-setup +++ b/src/tlsproxy-setup @@ -27,7 +27,7 @@ trap 'rm -f "$tempfile"' EXIT # Generate proxy CA key file. certtool --generate-privkey \ - --sec-param=high \ + --sec-param high \ --outfile proxy-ca-key.pem # Generate proxy CA. echo 'cn = tlsproxy CA' > "$tempfile" @@ -41,7 +41,7 @@ certtool --generate-self-signed \ # Generate proxy key file. certtool --generate-privkey \ - --sec-param=high \ + --sec-param high \ --outfile proxy-key.pem # Generate proxy "invalid" server certificate. It's used for problematic