Attribute field in 2008 R2 AD CS Web Enrollment - Obsolete?

Is the Attributes field in AD CS Web Enrollment now obsolete?
I have implemented a Windows 2008 R2 two tier PKI infrastructure at my organization for some time now. We are just now rolling it out to our general populace. As such, I am tasked with coming up with an instructional presentation for less knowledgeable
users. I have found that I cannot use the Attributes field on the Web Enrollment page for requesting SAN certificates.
I read the documentation from Microsoft located at:
http://technet.microsoft.com/en-us/library/ff625722(v=ws.10).aspx#BKMK_MakeSanExt .
I can see that in order to request a SAN cert via certreq and .inf file, I must use the [Extensions] section rather than the [RequestAttributes] section. This works when using and INF file. When using the Attributes field in Web Enrollment, my certificate
can be issued but the SAN is not present in the resulting certificate. I used the makeSanExtension.vbs script as mentioned in the above site and create the ANSI1 formatted extension then copied it into the Attributes field in Web Enrollment
and viewed the Binary certificate request in ADCS and the
SAN is not even listed.  
So, is there a way to request a SAN via that field? Are there other attributes that may be requested via this field?
Below is what I read from the site mentioned above:
[Extensions]
; If your client operating system is Windows Server 2008, Windows Server 2008 R2, Windows Vista, or Windows 7
; SANs can be included in the Extensions section by using the following text format. Note 2.5.29.17 is the OID for a SAN extension.
2.5.29.17 = "{text}"
_continue_ = "dns=www01.fabrikam.com&"
_continue_ = "dn=CN=www01,OU=Web Servers,DC=fabrikam,DC=com&"
_continue_ = "url=http://www.fabrikam.com&"
_continue_ = "ipaddress=172.31.10.134&"
_continue_ = "[email protected]&"
_continue_ = "[email protected]&"
_continue_ = "guid=f7c3ac41-b8ce-4fb4-aa58-3d1dc0e36b39&"
; If your client operating system is Windows Server 2003, Windows Server 2003 R2, or Windows XP
; SANs can be included in the Extensions section only by adding Base64-encoded text containing the alternative names in ASN.1 format.
; Use the provided script MakeSanExt.vbs to generate a SAN extension in this format.
2.5.29.17=MCaCEnd3dzAxLmZhYnJpa2FtLmNvbYIQd3d3LmZhYnJpa2FtLmNvbQ==
[RequestAttributes]
; If your client operating system is Windows Server 2003, Windows Server 2003 R2, or Windows XP
; and you are using a standalone CA, SANs can be included in the RequestAttributes
; section by using the following text format.
SAN="dns=www01.fabrikam.com&dns=www.fabrikam.com&ipaddress=172.31.10.130"
Thanks for the response.
Brian Britt
 

On Mon, 7 Apr 2014 18:50:47 +0000, Brtian wrote:
Is the Attributes field in AD CS Web Enrollment now obsolete?
No.
I have implemented a Windows 2008 R2 two tier PKI infrastructure at my organization for some time now. We are just now rolling it out to our general populace. As such, I am tasked with coming up with an instructional presentation for less knowledgeable
users. I have found that I cannot use the Attributes field on the Web Enrollment page for requesting SAN certificates.
I read the documentation from Microsoft located at:
http://technet.microsoft.com/en-us/library/ff625722(v=ws.10).aspx#BKMK_MakeSanExt .
I can see that in order to request a SAN cert via certreq and .inf file, I must use the [Extensions] section rather than the [RequestAttributes] section. This works when using and INF file. When using the Attributes field in Web Enrollment, my certificate
can be issued but the SAN is not present in the resulting certificate. I used the makeSanExtension.vbs script as mentioned in the above site and create the ANSI1 formatted extension then copied it into the Attributes field in Web Enrollment
and viewed the Binary certificate request in ADCS and the SAN is not even listed.  
So, is there a way to request a SAN via that field? Are there other attributes that may be requested via this field?
You're reading the documentation incorrectly. That script is only required if you're going to use an INF file for the request. If you're going to use the web enrollment pages (which is
not recommended as per the security warnings in the article) you need to enter something like the following in that section:
san:dns=corpdc1.fabrikam.com&dns=ldap.fabrikam.com
This example will register two SANs. Multiple SANs, if required, are separated with an &.
From a security perspective I would strongly suggest that you forget about using the web enrollment and instead document how to use the Certificates MMC console.
Paul Adare - FIM CM MVP
"Space Aliens ate my UNIX compatibility!" -- cm about AIX

Similar Messages

  • Server 2008 R2 Certificate services web enrollment

    Not sure if this is the right place for this, but here goes.
    Upgraded a domain to 2008 R2. Migrated certificate services to 2008 R2 Enterprise root on a member server.
    Autoenrollment works fine
    Requesting cert from the MMC using certificates snapin works fine
    Requesting a cert via the web https://servername/certsrv gets the following error;
    Active Directory Certificate Services denied request 12345 because the request subject name is
    invalid or too long 0x80094001 (-2146877439)
    Error constructing or publiching certificate.
    I created a new cert template and did NOT check use Active Directory for subject name as templates with this checked
    do not show up in the web enrollment interface.
    I have enabled this template for enrollment and gave users rights to enroll.
    They are clicking advanced in the web interface as they want a computer cert.
    For the subject name, they enter computername.domain.local
    Based on searches I've done on the InterWeb, permissions APPEAR to be correct.
    Again, Autoenroll and MMC work just fine. Appears to be confined to only web.

    They are clicking advanced in the web interface as they want a computer cert.
    For the subject name, they enter computername.domain.local
    Be aware that the web enrollment pages does not support computer certificates and you need to issue the certificate to the user and import it to the computer store
    /Hasain

  • CA web enrollment page is not shown in windows server 2008 R2 Datacenter edition

    hi friends
    on a windows server 2008 R2 Datacenter, i have installed ADCS (including web enrollment), & every thing is ok.
    but when i connect to CA web enrollment page to request a certificate for my web server, when i select advanced certificate request, system doesn't show the page which we select which register our name & specification & we select which certificate
    template do we want.  instead it shows the page 
    in windows 2008 R2 enterprise edition this problem doesn't exist. also in standalone CA web enrollment page this problem doesn't exist.
    any help pleas
    thanks in advance

    forget about enrollment web pages. With Enterprise CAs you should consider to use Certificates MMC snap-in:
    http://technet.microsoft.com/en-us/library/cc754490.aspx
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.
    hi thanks.
    i am familiar with cert snap-in, but i wanted to know can we restore previous web enrollment page which delivered us the ability of enroll

  • "Attribute" field in product class

    Hi All,
    Can anyone please tell what is the use of Attributes field which is present in product class?
    Thanks,
    Sandy

    To complement previous answer, I'm adding a referece to the Design Sutdio (DS) for OSM Documentation which describes product attributes in section: "About Product Classes"
    Here is an extract from the DS documentation:
    "... Product classes include dynamic attributes (characteristics) for a specific type of product. For example, DSL attributes might include Up Speed, Down Speed, Quality of Service, or Service ID.
    ... Incoming customer orders contain order items that include product class attributes as key/value pairs. For example, an order item may contain the DSL attribute Up Speed with a value of 1MB. Product class attributes enable Design Studio to anticipate the structure of an order item and pass the attribute key/value pairs to downstream systems"
    Carlos

  • Attribute field in QE51N

    Hi all,
    May I know what is the field "Attribute" used for during the result recording (QE51N)?
    It is a drop down box which consists many selection, for example:
    1 - # Not Determinable (valid)
    2 - * Outlier (invalid)
    3 - / Invalid
    4 - < Less than or equal to
    5 - > Greater than or equal to
    6 - ? Estimated
    7 - A
    10 - D
    11 - ...
    12 - ...
    Thanks
    YY

    Hi
    Go through help
    Use
    With an entry in this field you can indicate characteristic results or sample results as being invalid or, for example, mark outliers. If single values are recorded, the attribute field refers to a single value, otherwise this field refers to the results data for the characteristic or for the partial sample.
    Dependencies
    The system calculates statistics, such as the mean value, standard deviation and the number of fields only from valid single results.
    When you indicate that the result of a partial sample is invalid, the system reduces the summarized results data of the inspection characteristic by the results data of the invalid partial sample.
    Regards
    Suji

  • Get current attribute field name

    Hello,
    how can i read the attribut field name of the current attribute - like the F2 help.
    I need the attribute name within a event handler method.
    Thanks,
    TomSd
    Edited by: Thomas Strehle on Dec 7, 2009 7:26 PM
    Edited by: Thomas Strehle on Dec 7, 2009 7:27 PM
    Edited by: Thomas Strehle on Dec 7, 2009 7:27 PM

    Hi Prasenjit,
    i've the issue to read the attribute name to use a on_sell event methode dynamic for more than one field.
    Within that method i need the attribute name, to consider what to do.
    Regards,
    TomSd

  • UpdateRow of EO is not calling while updating VO Attribute fields of table

    I have one seeded VO and EO which is attached with one seeded Region. When i change any display field in region updateRow of EO calls and update row in database.
    I have added one messageTextInout through personalization and used one attribute field as a View Attribute and View Instance Same as above.
    But when i apply it does not call updateRow and does not update my data in table.
    updateRow is having one API call which update data. I have extended this EO to call my API to store this attribute in table through extended updateRow Method.
    Please help.
    Thanks in advance

    have you created substitution for the EO?
    also check whether you have configured -Djbo.project=<project name> in the project settings.
    --Prasanna                                                                                                                                                                                                                                                                                                               

  • QA: Designer's operation to Add one more Field to display in Query Result Web Part

    QUESTION ABOUT Query Result Web Part presentation +1 Field
    I'd be looking at a property of Web Part to look up Discussion Board through Query Result Web Part. Currently it displays 'Title' column of Discussion Board, and my caring requirement is presentation customization to hold double
    columns of 'Title'+'Updated Date'. How could I add one more field 'Updated Date' to display in addition to that preexisting 'Title' field?
    Any procedural steps to realize how to add Filed to display in Query Result Web Part?

    Hi Yoshihiro,
    As I understand, you want to add the field to display in Query Result Web Part in SharePoint 2013.
    Which web part does you use? Content query web part or search results web part?
    If you use search results web part, you could edit the discussion board result template and add the updated field in the template.
    You could go to Design Manager: Edit Display Templates (site setting-> look and feel->design manager->edit display template), download the Discussion Item.htm file, and edit the file. 
    After editing, upload the file.
    The articles below are about how to modify an existing Display Template in SharePoint 2013.
    http://www.learningsharepoint.com/2012/09/17/sharepoint-2013-the-new-display-templates-for-styling-your-content/
    http://blogs.technet.com/b/sharepoint_quick_reads/archive/2013/08/01/sharepoint-2013-customize-display-template-for-content-by-search-web-part-cswp-part-1.aspx
     If you use content query web part, you could edit the content query web part, in the Property Mappings section select the “Change the mapping of managed”, and add the “modifiedOWSDATE” (it means the last modified date) in the line, after
    that you could see the update date under the title.
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Country field in the subject name using mmc enrollment

    Hello.
    I'm running windows 2008 ADCS and i have the following issue:
    i can't get the C=country in the certificate [some other fields (o, ou) do not appear also]
    The setup is the following:
    * certificate template is configured to use active directory FQDN for subject name
    * the user has the country (and OU, and O) defined in AD user proprieties
    * i don't want to use web enrollment but MMC
    What i need to happen: when enrolling via MMC, with simple request certificate on behalf of, not only cn=userX,cn=Users,dc=XYZ,dc=local must appear in the certificate but also C=, O=, OU=
    any ideas how this is can be done?

    AFAIK this cannot be done using the default Windows policy module which only supports either the name from AD DN components or an entirely custom DN (if the template is configured to submit the name in the request) - but not a combination of name elements.
    It's also not possible to include other AD attributes that are not part of the DN (such as O).
    However, OU should appear if it is in the DN - but from your sample it seems the user is in the default Users container and not in an OU?
    A custom policy module could do that and combine DN components from different sources - e.g. the policy module included with Forefront Indentity Manager.
    Elke
    Edit: In
    this article an example is given of how to configure such a custom name in the FIM policy module, by combining data from AD (as your O and OU not in the DN), fixed strings, and additional input to the FIM portal:
    cn={User!GivenName} {User!SurName}, cn={Clm!CostCenter},o=Contoso,c=US.

  • Usefullness of Certification Authority Web Enrollment?

    If a deployment has Certificate Enrollment Web Service and
    Certificate Enrollment Policy Web Service installed is there still a need for
    Certification Authority Web Enrollment?  This Windows Server 2012 CA design has an offline root CA, two Enterprise Subordinate CAs in a cluster, and two web servers hosting AIA/CDP/OCSP/CES and CEP behind a load balancer.  There is
    also a standalone NDES server.
    Thanks

    Starting with Windows Server 2008, web enrollment become useless as it allows only user certificates, therefore you should avoid web enrollment installation whenever it is possible. As for CEP/CES, there is a dependency that only Windows 7+ supports it.
    My weblog: http://en-us.sysadmins.lv
    PowerShell PKI Module: http://pspki.codeplex.com
    Check out new:
    PowerShell FCIV tool.

  • Web Enrollment (certsrv) gives HTTP 500.19

    I am attempting to implement an Enterprise CA including web enrollment.  I have installed the role and role services, and the CA appears to function.  However, I receive HTTP error 500.19 when trying to browse the /certsrv virtual directory:
    Module
    IIS Web Core
    Notification
    BeginRequest
    Handler
    Not yet determined
    Error Code
    0x80070003
    Config Error
    Cannot read configuration file
    Config File
    \\?\C:\Windows\system32\CertSrv\en-US\web.config
    Requested URL
    http://server11.tec.local:80/certsrv
    Physical Path
    C:\Windows\system32\CertSrv\en-US
    Logon Method
    Not yet determined
    Logon User
    Not yet determined
    I receive HTTP 500 in all browsers, and the above when browsing localhost/certsrv.  I have researched and made many attempts to fix this, without luck.  I've modified NTFS ACLs on the system32\CertSrv directory and subs, recreated the
    virtual directory with certutil -vroot, edited application pool settings, all to no avail.  The part that strikes me as an obvious problem is the lack of any web.config file in \en-US, which the error points to.  However, as I said, I have recreated
    the directory with certutil after clearing out the IIS virtual directory.
    The server itself is a domain controller running Server 2008 R2 Enterprise SP1.  It runs DNS and all FSMO roles.  It also runs DHCP, file and print services, RDS Licensing (and Citrix licensing), and AD DS & CS as mentioned.  There
    is another server in the environment running Server 2003 SP2.  This is the "old" domain controller, which is also a certificate authority.  I am configuring AD CS for the purpose of being able to decommission the old server.  ADCS seems to be
    otherwise functioning, so I am hoping to avoid removing the role service itself.  
    Any thoughts?
    (I previously posted
    this in Directory Services and was told to move it here)

    It is not an IIS problem from my perspective.  IIS is only being used for the purpose of certificate enrollment, and the default web site IIS 7 logo loads fine.  It is specifically the web.config for the Web Enrollment site that
    IIS reports it cannot find.
    That article does not (or should not) apply to this scenario since the certificate the physical path is local, not a UNC path.  Although the "\\?\C:\Windows\system32\CertSrv\en-US\web.config" path is confusing to me.  
    Anyway, since configuring AD CS is the only reason there even is an IIS web site, something has to being wrong or have gone wrong somewhere in the role/role service setup.  There were no IIS web sites prior to configuring ADCS, and I have gone as far
    as deleting the entire web site and recreating it and the AD CS sites.
    Edit: For reference, here is the relevant (slightly obscured) section I see in the web site's web.config file:
            <sites>
                <site name="Default Web Site" id="1" serverAutoStart="true">
                    <application path="/" applicationPool="Default Web Site">
                        <virtualDirectory path="/" physicalPath="C:\inetpub\wwwroot" />
                        <virtualDirectory path="/CertEnroll" physicalPath="C:\Windows\system32\CertSrv\CertEnroll" logonMethod="Network" />
                    </application>
                    <application path="/ocsp" applicationPool="OCSPISAPIAppPool">
                        <virtualDirectory path="/" physicalPath="C:\Windows\SystemData\ocsp" />
                    </application>
                    <application path="/COMPANY-DC1-CA_CES_UsernamePassword" applicationPool="WSEnrollmentServer">
                        <virtualDirectory path="/" physicalPath="C:\Windows\SystemData\CES\COMPANY-DC1-CA_CES_UsernamePassword" />
                    </application>
                    <application path="/CertSrv" applicationPool="Default Web Site">
                        <virtualDirectory path="/" physicalPath="C:\Windows\system32\CertSrv\en-US" logonMethod="Network" />
                    </application>
                    <bindings>
                        <binding protocol="http" bindingInformation="*:80:" />
                        <binding protocol="https" bindingInformation="*:443:" />
                    </bindings>
                </site>

  • Certification Authority Web Enrollment Install Error

    Hello
    We have moved our certification authority from "Windows Server 2008" to "Windows Server 2008 R2" according this blog entry:
    http://www.scottfeltmann.com/index.php/2010/03/02/move-root-ca-from-w2k3-to-w2k8/
    It works perfectly.  After that we wanted to install "Certificate Authority Web Enrollment" in Server Manager, but the following error appears:
    "Cannot install Certification Authority Web Enrollment, Active Directory Certificate Services setup failed with the following error: The parameter is incorrect. 0x80070057 (WIN32: 87)"
    Thanks for any help!
    Regards
    netbit

    Hello Marcin
    Thanks for your answer. The CA is now on a single server without any roles installed.
    There are no events in the eventvwr for this error or anything else.
    Just for clarification: If i try to select "Certificate Authority Web Enrollment" in the servermanager the error appears:
    Screenshot: http://giezi.com/public/servermanager-error.PNG
    Thanks!
    Regards
    Reto

  • Multiple names or ip addreses in Standalone CA server web enrollment page

    hello
    is it possible to define multiple names or ip addresses in the name field of the certificate web request in
    Standalone CA web enrollment page?
    if yes, how can we separate them? i tested with comma but didn't work:
    www.mycompany.lab,websrv.company.lab,10.1.1.1
    i searched Google but didn't find solution.
    thanks

    Do not use the Web pages for that request.
    Instead, use the certificates MMC focused on the local computer. The dialog box allows you to input multiple names. 
    Brian
    hi. as i mentioned my CA server is standalone. can we obtain certificate from standalone CA from MMC certificates snap-in?
    according to technet:
    request a certificate :
    You can use this procedure to request certificates from an enterprise
    CA only. To request certificates from a stand-alone CA, you need to request certificates by using Web pages. The Web page for a Windows-based CA is located at http://servername/certsrv,
    where servername is
    the name of the server hosting the CA.

  • AD CS Web Enrollment Error - "public key does not meet the minimum size required"

    I've installed a standalone root CA and a enterprise subordinate CA in our environment - both are Windows 2008 R2. Everything is working except for Web Enrollment using a custom User template. I duplicated the default User template and choose
    2003 Compatible for the new one. I changed the minimum key length to 2048 and set the validity period to 2 years.
    We'd like to avoid using the Advanced Certificate Request page, so I modified certrqtp.inc to point to the new template:
    Else
    ' Request types for enterprise
    rgAvailReqTypes(0,FIELD_TEMPLATE)="User-custom"
    rgAvailReqTypes(0,FIELD_FRIENDLYNAME)=L_UserTemplateCert_Text
    rgAvailReqTypes(0,FIELD_CSPLIST)="Microsoft Enhanced Cryptographic Provider v1.0?Microsoft Base Cryptographic Provider v1.0"
    rgAvailReqTypes(0,FIELD_CSPLIST2)="Microsoft Base Cryptographic Provider v1.0?Microsoft Enhanced Cryptographic Provider v1.0"
    rgAvailReqTypes(0,FIELD_EXPORTABLE)="True"
    nAvailReqTypes=1
    End If
    I also ran into this issue where Web Enrollment jumps straight to the Advanced page if the original User template isn't present on the CA:
    http://social.technet.microsoft.com/Forums/en/winserversecurity/thread/9ab514bc-1f9f-424e-b70d-705874d9c623
    So I have both User templates loaded on the CA, and I get this error back when attempting a certificate request using IE 8 or 9:
    Your certificate request was denied.
    Your Request Id is 25. The disposition message is "Denied by Policy Module".
    Contact your administrator for further information.
    Looking at the CA's Failed Requests section, I see this error:
    The public key does not meet the minimum size required by the specified certificate template. 0x80094811 (-2146875375)
    I double-checked our custom template and it does specify 2048 as the minimum key size.
    Also, when trying with Chrome 11.0, I get an extra option during enrollment asking for a key size (1024 or 2048). When I choose 2048, the certificate request succeeds. I don't get the key size option when using IE, though.
    We'd like to get this working with IE if possible. Any ideas?

    We had the same error message. The problem turned out to be on the requesting computer, not the server. When we went to renew a cert in IIS on a server it was generating a 1028-bit key request. Since the minimum on the server was set to 2048-bit
    the request failed. So, there's two ways to handle this. You can change the certificate template on the server to have a minimum set to 1024-bit or you can have IIS submit a new request for a certificate and choose 2048-bit as the size of the key during the
    wizard. We opted to have IIS request a 2048-bit key. The same would apply for whatever computer, device, or software you are using to form the certificate request.
    Your message is pretty old, but I am running on the same problem right now. I've added a custom template to select (with 2048) minimum length, but the webpage from the IIS by default provides just 1024-bit. Where can i optimize the IIS to use a 2048-bit
    key when requesting the certificate?
    When I open the same site with Firefox for example, i got a listed option (Medium / High Strength) to choose for the encryption. It seems that the high strength is >= 2048-bit.

  • Certificate Authority Web Enrollment - CSP states loading

    Hello,
    I have setup an enterprise sub CA (the root is offline).
    I have been able to issue certificates, but I did not have the Web Service, Policy Web Service or the Web Enrollment turned on.
    I turned them on yesterday and when I visit the website, when I click Create and submit a request to this CA it takes to the next page where I can request a certificate.  I created a duplicate template for the User Certificate and made it available.
    I see it in the drop down, however under key options, CSP just says loading. I went to this site:http://support.microsoft.com/kb/939290 and followed the instructions, Active Scripting is enabled and it still
    continues to state loading.
    I am at a complete loss as to what the problem might be. Event logs on CA server are clean, no errors or warning.
    Any suggestions?
    Update: I tried to get to the site from the actual CA server and it displays the The Web site is attempting to perform a digital certificate operation on your behalf, etc...
    And it populated the CSP.
    I tried it from another server and it worked.
    I tried it from another workstation and it shows loading in the CSP.
    Has anyone run into this issue?

    Hi,
    As this works on one of your servers, whether all your workstation have this issue?
    Certificate Enrollment Web Services client computers must be computers running at least Windows 7 or Windows Server 2008 R2 operating systems. To utilize key-based renewal, client computers must be running at least Windows 8 or Windows Server 2012 operating
    systems.
    Please follow the below article for more details:
    http://social.technet.microsoft.com/wiki/contents/articles/7734.certificate-enrollment-web-services-in-active-directory-certificate-services.aspx
    Regards,
    Yan Li
    Regards, Yan Li

Maybe you are looking for