Lines Matching refs:key
37 key() { function
38 local key=$1; shift
50 if [ ! -f "${key}.pem" ]; then
62 openssl genpkey "${args[@]}" -out "${key}.pem"
68 local key=$1; shift
70 key "$key"
74 openssl req -new -"${OPENSSL_SIGALG}" -key "${key}.pem" \
81 local key=$1; shift
83 key "$key"
85 openssl req -new -"${OPENSSL_SIGALG}" -subj / -key "${key}.pem" \
101 local key=$1; shift
113 csr=$(req "$key" "CN = $cn") || return 1
115 cert "$cert" "$exts" -signkey "${key}.pem" -set_serial 1 -days "${DAYS}"
134 local key=$1; shift
154 csr=$(req "$key" "CN = $cn") || return 1
162 local key=$1; shift
175 csr=$(req "$key" "CN = $cn") || return 1
187 local key=$1; shift
204 local key=$1; shift
226 local key=$1; shift
235 geneeconfig $key $cert $cakey $ca "$conf"
255 local key=$1; shift
267 csr=$(req "$key" "CN = $cn") || return 1
288 local key=$1; shift
301 csr=$(req "$key" "CN = $cn") || return 1
338 local key=$1; shift
347 csr=$(req "$key" "CN = $cn") || return 1
349 cert "$cert" "$exts" -signkey "${key}.pem" \
354 local key=$1; shift
357 csr=$(req_nocn "$key") || return 1
359 cert "$cert" "" -signkey "${key}.pem" -set_serial 1 -days -1 "$@"
377 local key=$1; shift
390 csr=$(req "$key" "CN = $cn") || return 1