473,398 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Active Direcotory - Map a certificate to a user account

It is possible to Map a certificate to a Active Directory User Account from
DotNet?
Please provide an example.

Best regards,

Ejnar Jakobsgaard
-------------------------------------------------
To map a certificate to a user account
Open Active Directory Users and Computers.
On the View menu, select Advanced Features.
In the console tree, click Users.
Where?

Active Directory Users and Computers
domain node
Users
Or, click the folder that contains the user account.

In the details pane, click the user account to which you want to map a
certificate.
On the Action menu, click Name Mappings.
In the Security Identity Mapping dialog box, on the X.509 Certificates tab,
click Add.
Type the name and path of the .cer file that contains the certificate you
want to map to this user account, and then click Open.
Do one of the following: To Do this
Map the certificate to one account (one-to-one mapping) Confirm that both
the Use Issuer for alternate security identity and the Use Subject for
alternate security identity check boxes are selected.
Map any certificate that has the same subject to the user account,
regardless of the issuer of the certificate (many-to-one mapping) Clear the
Use Issuer for alternate security identity check box, and confirm that the
Use Subject for alternate security identity check box is selected.
Map any certificate that has the same issuer to the user account, regardless
of the subject of the certificate (many-to-one mapping) Clear the Use Subject
for alternate security identity check box, and confirm that the Use Issuer
for alternate security identity check box is selected.

Notes

To perform this procedure, you must be a member of the Account Operators
group, Domain Admins group, or the Enterprise Admins group in Active
Directory, or you must have been delegated the appropriate authority. As a
security best practice, consider using Run as to perform this procedure.
To open Active Directory Users and Computers, click Start, click Control
Panel, double-click Administrative Tools, and then double-click Active
Directory Users and Computers.
The certificate you are mapping to a user account must be in Distinguished
Encoding Rules (DER) or Base64 encoded binary format. For instructions on
exporting an existing certificate to a .cer file, see Related Topics.
Jan 16 '06 #1
0 2717

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Helena Cai | last post by:
Hi, Due to the nature of our system, we need to dynamically import certificate files into windows certificates store and access the certificate store from ASP pages, these ASP pages call a VB...
0
by: Johan Delimon | last post by:
Hello, I have created an ASP page that requests special V2.0 Certificates for a user. This is to use with our VPN solution. My code errors on this line: requeststr =...
4
by: Matt Frame | last post by:
I am working on a special ASP.Net application that receives files from customers. The connection is made via HTTPS and the client sends the file as a POST to my ASP.Net listener. All of this...
3
by: Luis Esteban Valencia | last post by:
Hello gusys, Is it possible to make my asp.net application add users to the AD , I also want to be able to delete users, modify their information, everything through a website. Thanks for the...
0
by: Marcin Belczewski | last post by:
Hi Is it possible to map a X.509 certificate using WSE to Active Directory user account. I know it's possible using transport level security. How this can be achieved using WSE? Marcin ...
3
by: Lucky | last post by:
Hi guys, after long long time. i'm back again with another problem. this time i think the problem is very very interesting and i really need you help on this. i'm trying to connect to the...
1
by: jnet | last post by:
Hi, How Do I retrieve the mapped account to a client certificate in .NET? I have multi certificates distributed to different clients; I want to know from whom the request is coming, so I can load...
2
by: fireline1082 | last post by:
Hi all, I have a question: How can I write a code in C# to list the published user certicate in Active Directory. If I navigate through the active directory, I can see the user's certificate. ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.