How to create a self-signed certificate with OpenSSL that includes SANs (subject alternative names).

NOTE: OpenSSL can be ran in multiple ways. One way on Windows is to install this https://slproweb.com/products/Win32OpenSSL.html. Create a new <servername>.cfg file in Notepad with the following info updated for the cert. Add/Remove DNS info if more or less SANs are needed: [ req ]default_bits = 2048prompt = noencrypt_key = nodefault_md = sha256distinguished_name = dnx509_extensions …