SubjectAltNames
Stay organized with collections
Save and categorize content based on your preferences.
SubjectAltNames
corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the "common name" in the distinguished name).
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[[["\u003cp\u003eSubjectAltNames provide a modern method for defining the asserted identity within a certificate, replacing the older "common name" approach.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of SubjectAltNames includes fields for DNS names, URIs, email addresses, IP addresses, and custom SANs.\u003c/p\u003e\n"],["\u003cp\u003eEach field within SubjectAltNames, such as \u003ccode\u003ednsNames\u003c/code\u003e, \u003ccode\u003euris\u003c/code\u003e, \u003ccode\u003eemailAddresses\u003c/code\u003e, and \u003ccode\u003eipAddresses\u003c/code\u003e, is designed to hold specific types of data and follows strict formatting guidelines, such as RFC compliance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecustomSans\u003c/code\u003e field allows for the inclusion of additional subject alternative name values, encoded as ASN.1 UTF8Strings, offering flexibility beyond standard fields.\u003c/p\u003e\n"]]],[],null,["# SubjectAltNames\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\n[SubjectAltNames](/certificate-authority-service/docs/reference/rest/v1/SubjectAltNames) corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the \"common name\" in the distinguished name)."]]