How to use IP address as common name in selfsigned certificate?

穿精又带淫゛_ 提交于 2019-12-12 17:05:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!