I have a request from the security team to create a certificate and add a custom SAN the san is URI:egw://serverName.domainName/path.
I create a config and use OpenSSL to create the CSR
[ req ]
default_bits = 2048
default_md = sha256
distinguished_name = req_distinguished_name
req_extensions = req_ext
x509_extensions = v3_req
[ 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)
emailAddress = Email Address
[ req_ext ]
subjectAltName = @alt_names
[ v3_req ]
subjectAltName = @alt_names
[ alt_names ]
URI.1 = egw://serverName.domainName/path
I sent the request to Letsencrypt using the command bellow
certbot certonly --manual --preferred-challenges=dns --csr exemplo.csr
The certificate was created but not with the URI in the SAN but with DNS.
Is there a way to add the SAN URI: egw://serverName.domainName/path ?