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
and use them correctly on localhost*.*

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

My server.json configuration:

And I’m trying to get the page on local computer. So when typing into the browser, I got what I expected. But returns

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

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

And because of my certificate contains common name: and dns, *. and because of the curl message, I tried to change the ssl port to 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

I’m with lucee 5.2.9+31.

Thank you for any thoughts.