[ovs-dev] [PATCH] ovs-pki: Unique subject DNs for certificate requests.

Ben Pfaff blp at nicira.com
Mon Oct 22 18:23:16 UTC 2012

On Mon, Oct 22, 2012 at 11:09:27AM -0700, Gurucharan Shetty wrote:
> Some applications expect subject DNs to be unique.
> Bug #13609.
> Signed-off-by: Gurucharan Shetty<gshetty at nicira.com>

I know that I suggested uuidgen in conversation, but now I'm thinking
that it isn't the best choice because it's not entirely portable
(e.g. I have no idea whether FreeBSD generally has uuidgen).

Elsewhere in ovs-pki we use the current date, e.g. see commit
a20d2466fcd (ovs-pki: Add uniqueness to CA certs), and that seems to
work OK.  Would that be OK here too?  (And then we could keep $arg1, I
think, which might be helpful occasionally.)



More information about the dev mailing list