X509 subject alternative name (subjectAltName) IP address field

浪尽此生 提交于 2019-12-05 19:09:15

I read RFC 2818 earlier but must have missed this part.

In some cases, the URI is specified as an IP address rather than a
hostname. In this case, the iPAddress subjectAltName must be present
in the certificate and must exactly match the IP in the URI.
rekire

My answer is based on my experience with TLS/SSL.

  1. It's based upon the implementation of the certificate validation. To enforce IP address match, you have to implement that.
  2. Whatever way you want. You could also check both.
  3. Sorry no idea what this field does.

Have you checked the OpenSSL documentation?

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