self-signed-ssl
self-signed-ssl copied to clipboard
Support for IP addresses in 'Subject Alternative Names?'
The script works great as-is, however, when creating the certs, the script only asks for (sub)domains not for an IP address. As such, when I try to access HTTPS IP address URL, I get expected 'NET::ERR_CERT_COMMON_NAME_INVALID' HTTPS error.
Although I'm not a programmer, I read that the script only has SAN="${SAN}DNS.${i} = ${u// /}"$'\n'
not something like SAN="${SAN}IP.${i}...
If you wouldn't mind, would you be able to add support for IP address in Subject Alternative Names, thanks.
For now, I solved the issue with alternative script.
@jckefan
I am planning to focus more attention on a newer project: Acert. This utility provides the ability to parse IP addresses from a --san
argument.
The best option for this script may be to add an explicit option for IP addresses. I am a bit short on time at the moment, but will consider this when I do have more time available.