Lines Matching full:name
13 # 3. Neither the name of the copyright holder nor the
42 NAME=${1}
44 ((ID = ${NAME:0-1}))
47 echo " TCAT commissioner name : ${NAME}"
48 echo " TCAT commissioner CA name: ${CANAME}"
52 openssl req -new -key "keys/${NAME}_key.pem" -out "${NAME}.csr" -subj \
53 "/CN=TCAT Example ${NAME}/serialNumber=3523-1543-000${ID}"
56 mkdir -p "output/${NAME}"
58 -CAkey "ca/${CANAME}_key.pem" -extfile "ext/${NAME}.ext" -extensions \
59 "${NAME}" -req -in "${NAME}.csr" -out "output/${NAME}/commissioner_cert.pem" \
63 rm -f "${NAME}.csr"
66 cp "${CACERTFILE}" "output/${NAME}/ca_cert.pem"
67 cp "keys/${NAME}_key.pem" "output/${NAME}/commissioner_key.pem"