This makes it possible to tell them apart by looking at the certificates,
instead of having to just know which is which.
# Write CA configuration file.
if test ! -e ca.cnf; then
- cat > ca.cnf <<'EOF'
+ sed "s/@ca@/$ca/g" > ca.cnf <<'EOF'
[ req ]
prompt = no
distinguished_name = req_distinguished_name
ST = CA
L = Palo Alto
O = OpenFlow
-OU = OpenFlow
-CN = OpenFlow
+OU = @ca@
+CN = OpenFlow @ca@ CA Certificate
[ ca ]
default_ca = the_ca