DEV Community

Deep R G
Deep R G

Posted on

Install Free SSL Certificates with Multi-Domain Support (Nginx/HTTPD)

Recently I had to install SSL certs and came across concept of Multi Domain (SANs) and it made life so easy. Hence I documented the whole process here in this article
Basically we we put [alt_names] in openssl.cnf:

[ alt_names ]
DNS.1 = example.com
DNS.2 = www.example.com
DNS.3 = api.example.com
Enter fullscreen mode Exit fullscreen mode

And then generate CSR:

openssl req -new -nodes -out example.csr -newkey rsa:2048 -keyout example.key -config openssl.cnf

Enter fullscreen mode Exit fullscreen mode

Link to full Article is here Install Free SSL Certificate on Nginx/HTTPD with Multi-Domain SAN support explain step by step procedure to install certs on Nginx/HTTPD

Top comments (0)