Certificate CN Referencing Hostnames or Private IP Addresses

Certificate CN Referencing Hostnames or Private IP Addresses

127
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 15:58 PM


Symptom


Mozilla Firefox classifies using a private IP address as the Common Name (CN) on a certificate as a "problematic practice" (https://wiki.mozilla.org/CA:Problematic_Practices#Certificates_referencing_hostnames_or_private_IP_addresses), and Google Chrome also displays an error when an IP address is used as a CN. The result of using a private IP address as a CN is when a user attempts to browse the website, the user receives an error.

  • The error from Chrome is "NET:ERR_CERT_COMMON_NAME_INVALID"

  • The error from Firefox is "(Error code: sec_error_unknown_issuer)"

The recommended configurationis to usean FQDN as the CN, and specify the IP address as a SAN.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000017YyCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail