Fixed the certification generation to use the correct IP.
Fixed the certification generation to use the correct IP.

When invoking localkube a certificate is not correctly generated for the
target ip. For example, when network 10.0.0.1/24 is parsed it generates
a certificate for 10.0.0.0 instead of 10.0.0.1.

Fixed #1215. (with @mhbauer)

cu12/minikube,abbytiz/minikube,dalehamel/minikube,skipjaq/minikube,cu12/minikube,warmchang/minikube,mikegrass/minikube,kubernetes/minikube,kubernetes/minikube,dims/minikube,skipjaq/minikube,mikegrass/minikube,cu12/minikube,dims/minikube,warmchang/minikube,dlorenc/minikube,dlorenc/minikube,warmchang/minikube,kubernetes/minikube,kubernetes/minikube,abbytiz/minikube,r2d4/minikube,dlorenc/minikube,warmchang/minikube,warmchang/minikube,abbytiz/minikube,aaron-prindle/minikube,kubernetes/minikube,kubernetes/minikube,dlorenc/minikube,skipjaq/minikube,warmchang/minikube,mikegrass/minikube,aaron-prindle/minikube,dalehamel/minikube,r2d4/minikube,dlorenc/minikube,aaron-prindle/minikube,kubernetes/minikube,warmchang/minikube,r2d4/minikube,dlorenc/minikube,dlorenc/minikube,dlorenc/minikube,dalehamel/minikube,dims/minikube