3 ms·
It is not as if no one ever generated a cert with an empty CN. This is from mkcert.sh in the OpenSSL distribution: req_nocn() { local key=$1; shift
by 1vuio0pswjnm7 6y ago
It is not as if no one ever generated a cert with an empty CN. This is from mkcert.sh in the OpenSSL distribution:
req_nocn() {
local key=$1; shift
key "$key"
stderr_onerror \
openssl req -new -"${OPENSSL_SIGALG}" -subj / -key "${key}.pem" \
-config <(printf "[req]\n%s\n[dn]\nCN_default =\n" \
"distinguished_name = dn")
}