Printer FriendlyEmail Article Link

Avalanche: How to generate SAN SSL certificate and run it in Avalanche

Environment/Versions
Avalanche Commander
Answer
  • Create an OpenSSL configuration file (req.conf created using the below contents, modifiy file name and content if required)
[req]
distinguished_name = req_distinguished_name
x509_extensions = v3_req
prompt = no
[req_distinguished_name]
C = US
ST = VA
L = SomeCity
O = MyCompany
OU = MyDivision
CN = www.company.com
[v3_req]
keyUsage = keyEncipherment, dataEncipherment
extendedKeyUsage = serverAuth
subjectAltName = @alt_names
[alt_names]
DNS.1 = www.company.net
DNS.2 = company.com
DNS.3 = company.net
  • Run the following command to create the certificate:
openssl req -x509 -nodes -days 730 -newkey rsa:2048 -keyout cert.pem -out cert.pem -config req.conf 
 
  • Copy the cert.pem and upload in Server>Profile>SSL Configuration> Server SSL Certificate
Attachments
Attachment
Attachment Description
SPF version 4.66


Product : Avalanche