For Microsoft CA to construct the SubjectAltName in the issued certificate, you must enable the following flag.
Config_CA_Accept_Request_Attributes_SANYou can enable this flag in your remote certificate services implementation or the Microsoft CA server machine, as explained below.
See the [MS-CSRA] Microsoft document for more information on this flag.
To enable Config_CA_Accept_Request_Attributes_SAN in the Microsoft CA machine
- Log into the Windows machine hosting the Microsoft CA server.
- Run the  regeditcommand to open the Registry Editor.
- Select the following registry key ( - <CA_CN>is the Common Name of the Microsoft CA).- HKLM/SYSTEM/CurrentControlSet/Services/CertSvc/Configuration/<CA_CN>/PolicyModules/CertificateAuthority_MicrosoftDefault.Policy/EditFlags
- Calculate an OR of the current key value and - 0x000040000. For example, if the current value is- 11014e, calculate:- 0x00011014e OR 0x000040000 = 0x0015014e
- Set the OR result as the new key value.
- Run the  certsrvcommand to display the CA service settings.
 
- In the navigation tree, right-click the CA name.
- Select All Tasks > Stop service to stop the Microsoft CA server.
- Select All Tasks > Start service to restart the Microsoft CA server.
