Lines Matching refs:CTL_BASE
58 CTL_BASE=nsd_control
77 "${CTL_BASE}_trust.pem" \
156 if [ ! -f "$CTL_BASE.key" ]; then
157 openssl genrsa -out "$CTL_BASE.key" "$BITS"
176 if [ ! -f "$CTL_BASE.pem" -o $RECREATE -eq 1 ]; then
185 -key "$CTL_BASE.key" \
195 -out "$CTL_BASE.pem"
197 [ ! -f "CTL_BASE.pem" ] || fatal "cannot create signed client certificate"
204 "$CTL_BASE.pem" \
205 "$CTL_BASE.key"
212 # openssl x509 -in $CTL_BASE.pem -addtrust clientAuth -out $CTL_BASE"_trust.pem"
215 # echo "create $CTL_BASE""_browser.pfx (web client certificate)"
219 # openssl pkcs12 -export -in $CTL_BASE"_trust.pem" -inkey $CTL_BASE.key -name "nsd remote control client cert" -out $CTL_BASE"_browser.pfx" -password "pass:" || error "could not create browser certificate"