Fleet Server - Error - x509: certificate is valid for 192.168.x.x, not x.x.x.x

i just want to using tls to connect my agent. so i follow from Configure SSL/TLS for self-managed Fleet Servers | Fleet and Elastic Agent Guide [master] | Elastic

but when i want to install i got an error "Fleet Server - Error - x509: certificate is valid for 192.168.x.x, not x.x.x.x" whenever. when i see my fleet-server.crt

so what's wrong with this? help please