Certificates are generally based on hostnames. You can put an IP as the common name but it's problematic (and you can't get one signed by most authorities for an IP address as far as I know).
Generally the devices just generate a self-signed certificate and you have to click through the warning.
Generally the devices just generate a self-signed certificate and you have to click through the warning.