rsa:2048
-keyout domain.tld.key \
-out domain.tld.csr \
-subj "/C=TH/ST=Bangkok/O=Organization/OU=IT/CN=www.domain.tld"
rsa:2048 with SAN
-keyout domain.tld.key \
-out domain.tld.csr \
-subj "/C=TH/ST=Bangkok/O=Organization/OU=IT/CN=www.domain.tld" \
-addext "subjectAltName = DNS:www.domain2.tld,DNS:www.domain3.tld"
P-256 (ECC)
-keyout domain.tld.key \
-out domain.tld.csr \
-subj "/C=TH/ST=Bangkok/O=Organization/OU=IT/CN=www.domain.tld
P-256 (ECC) with SAN
-keyout domain.tld.key \
-out domain.tld.csr \
-subj "/C=TH/ST=Bangkok/O=Organization/OU=IT/CN=www.domain.tld" \
-addext "subjectAltName = DNS:www.domain2.tld,DNS:www.domain3.tld"
ST = State or Province Name
O = Organization Name
OU = Organizational Unit
CN = Common Name