]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
tlsproxy-setup: Fix --sec-param for older certtool versions.
authorSimon Ruderich <simon@ruderich.org>
Fri, 12 Jul 2013 13:47:26 +0000 (15:47 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 12 Jul 2013 13:47:26 +0000 (15:47 +0200)
src/tlsproxy-setup

index ff5d3bdf3baab3cdadde90a4f6f69f0eeb9f5b37..4b57a2220aafd62c888c6fba8bb9be82a2ef07cf 100755 (executable)
@@ -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