openssl req -new-sha256-key"${BASEDIR}/certs/${domain}/${privkey}"-out"${BASEDIR}/certs/${domain}/cert-${timestamp}.csr"-subj"/CN=${domain}/"-reqexts SAN -config"${tmp_openssl_cnf}"
rm-f"${tmp_openssl_cnf}"
# Create certificate for domain(s) and outputs it FD 3
openssl req -new-sha256-key"${BASEDIR}/certs/${domain}/${privkey}"-out"${BASEDIR}/certs/${domain}/cert-${timestamp}.csr"-subj"/CN=${domain}/"-reqexts SAN -config"${tmp_openssl_cnf}"