Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for IP addresses in 'Subject Alternative Names?' #35

Open
jckefan opened this issue Jan 30, 2022 · 2 comments
Open

Support for IP addresses in 'Subject Alternative Names?' #35

jckefan opened this issue Jan 30, 2022 · 2 comments

Comments

@jckefan
Copy link

jckefan commented Jan 30, 2022

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.

@jckefan
Copy link
Author

jckefan commented Feb 1, 2022

For now, I solved the issue with alternative script.

@lstellway
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants