[ovs-dev,3/3] ovs-sandbox: Generate the SSL keys using the default key length

Message ID 372a079c2f400ea47ef71f2bde31693762334255.1533833706.git.tredaelli@redhat.com
State Accepted
Headers show
Series
  • Use the default key length for RSA keys
Related show

Commit Message

Timothy Redaelli Aug. 9, 2018, 6:02 p.m.
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>
---
 tutorial/ovs-sandbox | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/tutorial/ovs-sandbox b/tutorial/ovs-sandbox
index 62ec537e8..7a5ab5f75 100755
--- a/tutorial/ovs-sandbox
+++ b/tutorial/ovs-sandbox
@@ -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