New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Certificate for internal IP claims common name invalid, even though it is correct
I followed this guide with easy-rsa https://www.digitalocean.com/community/tutorials/how-to-set-up-and-configure-a-certificate-authority-ca-on-ubuntu-20-04
signing the certificate returns
subject=
countryName = AU
stateOrProvinceName = Some-State
organizationName = Internet Widgits Pty Ltd
commonName = 10.7.0.1
X509v3 Subject Alternative Name:
DNS:10.7.0.1
I imported the root certificate into Windows and Firefox.
Now, whenever I browse to https://10.7.0.1 , they claim that the common name is wrong, even though it isn't:


What could be the problem here?

Comments
Have you install CA on ur computer ?
yes. In Windows and in Firefox.
You can just trust unsafe if it for local developing
I assume you have a wrong entry here.
Plus what I see Windows is fun with those, as always.
https://cabforum.org/working-groups/server/guidance-ip-addresses-certificates/
Thanks so much. IP:10.7.0.1 fixed it.