I have read answers to similar questions, but this one seems a little different. The requirement of certificate here is to accommodate different types of access to server: using IP address directly and using domain name.
In such case, should I put domain name in "CN" and IP address in "SAN", will that work?
Also, how will this work under DHCP, assuming domain name remains unchanged.
Thanks for your clarification.