2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 01:51:26 +00:00

ovs-sandbox: Generate the SSL keys using the default key length

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>
This commit is contained in:
Timothy Redaelli 2018-08-09 20:02:02 +02:00 committed by Ben Pfaff
parent 48745e75b3
commit d7526b836f

View File

@ -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