]> git.proxmox.com Git - mirror_ovs.git/commitdiff
ovs-sandbox: Generate the SSL keys using the default key length
authorTimothy Redaelli <tredaelli@redhat.com>
Thu, 9 Aug 2018 18:02:02 +0000 (20:02 +0200)
committerBen Pfaff <blp@ovn.org>
Fri, 10 Aug 2018 18:16:59 +0000 (11:16 -0700)
This commit removes the explicit set of 1024-bit RSA keys when the RSA
keys are generated on "make sandbox" and so the default (2048-bit) is used.

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Tested-by: Maxime Coquelin <maxime.coquelin@redhat.com>
tutorial/ovs-sandbox

index 62ec537e8d22cbdf9433d028b81386f9f14c7b19..7a5ab5f7517dc12342072a18b35dae382ed7d7df 100755 (executable)
@@ -390,11 +390,11 @@ if $ovn; then
 
     if [ "$HAVE_OPENSSL" = yes ]; then
         OVS_PKI="run ovs-pki --dir=$sandbox/pki --log=$sandbox/ovs-pki.log"
-        $OVS_PKI -B 1024 init
-        $OVS_PKI -B 1024 req+sign ovnsb switch
-        $OVS_PKI -B 1024 req+sign ovnnb switch
+        $OVS_PKI init
+        $OVS_PKI req+sign ovnsb switch
+        $OVS_PKI req+sign ovnnb switch
         for i in $(seq $n_controllers); do
-            $OVS_PKI -B 1024 -u req+sign chassis-$i switch
+            $OVS_PKI -u req+sign chassis-$i switch
         done
     fi
 fi