Some applications expect subject DNs to be unique. Bug #13609. Signed-off-by: Gurucharan Shetty<gshe...@nicira.com> --- utilities/ovs-pki.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/utilities/ovs-pki.in b/utilities/ovs-pki.in index bf40c29..e816341 100755 --- a/utilities/ovs-pki.in +++ b/utilities/ovs-pki.in @@ -429,6 +429,7 @@ make_request() { must_not_exist "$arg1-privkey.pem" must_not_exist "$arg1-req.pem" make_tmpdir + unique=`uuidgen 2>/dev/null` cat > "$TMP/req.cnf" <<EOF [ req ] prompt = no @@ -440,7 +441,7 @@ ST = CA L = Palo Alto O = Open vSwitch OU = Open vSwitch certifier -CN = Open vSwitch certificate for $arg1 +CN = Certificate uuid ${unique} EOF if test $keytype = rsa; then (umask 077 && openssl genrsa -out "$1-privkey.pem" $bits) 1>&3 2>&3 \ -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev