SSL on local network and binding to specific IP address

I have a question about correct configuration of using HTTPS protocol on local network.

So I’m able to use HTTPS on localhost, but when I tried to use same configuration for my IP address, the project is not available on https, just on http.

I’ve created test certificate and key on https://ssl.indexnl.com/
and use them correctly on localhost*.*

I’ve created on same way certificate and key for 192.168.1.24 ip address.

My server.json configuration:
{
“name”:“seedProjectTest-ssl-192.168.1.24”,
“openbrowser”:“false”,
“web”:{
“host”:“192.168.1.24”,
“HTTP”:{
“port”:51000
},
“SSL”:{
“enable”:true,
“port”:1443,
“certFile”:“config/ssl-dev/e87ef9-192.168.1.24/192.168.1.24.crt”,
“keyFile”:“config/ssl-dev/e87ef9-192.168.1.24/192.168.1.24.key”,
“keyPass”:""
}
}
}

And I’m trying to get the page on local computer. So when typing into the browser http://192.168.1.24:51000, I got what I expected. But https://192.168.1.24:1443 returns

On Firefox message saying “… it uses a certificate that is not valid for 192.168.1.24:1443. The certificate is only valid for the following names: 192.168.1.24, *.192.168.1.24 …”.

On Chrome is just invalid certificate with status.
And when I tried curl https://192.168.1.24:1443 I got meesage saying: curl: (51) SSL: no alternative certificate subject name matches target host name ‘192.168.1.24’.

And because of my certificate contains common name: 192.168.1.24 and dns 192.168.1.24, *.192.168.1.24 and because of the curl message, I tried to change the ssl port to 80, 8080, 443.

80:
8080:
443:

I thought that maybe I can add port number as part of certificate name, but this seems to me not possible as I got an error on ssl.indexnl.com.

I’m with lucee 5.2.9+31.

Thank you for any thoughts.