Secure https with nginx for Private IP address Secure https with nginx for Private IP address nginx nginx

Secure https with nginx for Private IP address


Update : So the solution was pretty simple.For IP addresses to work with the Subject Alternative Names we must provide the IP inside of the ext files that are used for creating certificate

subjectAltName = @alt_namesextendedKeyUsage = serverAuth[alt_names]DNS.1   = localhostIP.1 = 192.168.98.18

Now it's working properly

Edit: You can see the complete steps that I've followed from here: https://medium.com/@pavanskipo/how-to-secure-a-private-ip-address-with-https-nginx-ubuntu-ef8374dbfa4e.