mirror of
https://github.com/openvswitch/ovs
synced 2025-08-29 13:27:59 +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:
parent
48745e75b3
commit
d7526b836f
@ -390,11 +390,11 @@ if $ovn; then
|
|||||||
|
|
||||||
if [ "$HAVE_OPENSSL" = yes ]; then
|
if [ "$HAVE_OPENSSL" = yes ]; then
|
||||||
OVS_PKI="run ovs-pki --dir=$sandbox/pki --log=$sandbox/ovs-pki.log"
|
OVS_PKI="run ovs-pki --dir=$sandbox/pki --log=$sandbox/ovs-pki.log"
|
||||||
$OVS_PKI -B 1024 init
|
$OVS_PKI init
|
||||||
$OVS_PKI -B 1024 req+sign ovnsb switch
|
$OVS_PKI req+sign ovnsb switch
|
||||||
$OVS_PKI -B 1024 req+sign ovnnb switch
|
$OVS_PKI req+sign ovnnb switch
|
||||||
for i in $(seq $n_controllers); do
|
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
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user