Note: In the configuration, you need to change the [san_name] section to change/add more names.
[csadmin@cyops-dev ~]$ vi san_csr.cnf
[ req ]
default_bits = 2048
distinguished_name = req_distinguished_name
req_extensions = req_ext
[ req_distinguished_name ]
countryName = Country Name (2 letter code)
stateOrProvinceName = State or Province Name (full name)
localityName = Locality Name (eg, city)
organizationName = Organization Name (eg, company)
commonName = Common Name (e.g. server FQDN or YOUR name)
[ req_ext ]
subjectAltName = @san_names
[san_names]
DNS.1 = mydomain.com
DNS.2 = mydomain.net
DNS.3 = www.testdomin.org
openssl req -out ssl_san.csr -newkey rsa:2048 -nodes -keyout san_private.key -config san_csr.cnf
To Verify the SAN names from the generated .csr file
openssl req -noout -text -in ssl_san.csr |grep DNS
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.