问题
I recently generated self signed certificate using OpenSSL with common name as 'localhost' it works fine.
I tried using IP address instead of localhost, which Chrome browser rejected saying ERR_CERT_COMMON_NAME_INVALID
, because IP address is not resolved to common name.
How can I fix it?
来源:https://stackoverflow.com/questions/49685462/how-to-use-ip-address-as-common-name-in-selfsigned-certificate