I created a .crt certificate for Apache, however I could only import it to my java cacerts with the hostname I generated it with. This is for testing only and is self signed. I have both a hostname (local internal to network) and a public IP.
My question is, how can I generate a .crt file that would serve both my local host-name and my public IP (no public domain name)? Can it be ignorant of the domain?
(It's just for SSL test purposes) I need to access both from public IP and local internal host-name... (another IP).
But this question and answer did not help me...