473,378 Members | 1,539 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,378 software developers and data experts.

How to create a cerfiticate and install it on client machine automatically.

Hi everyone,

I want to create a application and a webservice, application connect to
web service to activate, web sevice will create a certificate to
authenticate this client, for each transaction between client anh
server, server will check cerfiticate of client connect to it. How do i
do that? Thanks for your reply.

Nov 17 '05 #1
1 1826
In general: (warning... it has been years since I have done this... I may be
fuzzy).

You will need to install certificate services on your server. Then, you
will need to make sure that your client trusts the certificates issued by
your server's certificate authority. Then, you will need to set up your web
service to require client certificates. Your client will have to generate a
public key and send it to the server. The server will embed it in a
certificate, sign it, and return it to the client to become your client
cert. Your app will have to make sure to select the correct client cert
when calling the web service (there could very well be more than one client
cert on the client machine).

In specifics: I haven't tried this. I couldn't tell you the calls needed to
make it work.

This is a bit complicated. It also doesn't appear to buy you much. If you
are trying to make sure that the client has a license to use your service
before calling the service, this could potentially work. It is unclear if
this is what you are trying to do and if it is, why you would need to
automate it. Certificates are rarely if ever issued to machines. They are
issued to people. Your app concept appears to issue the cert to a machine.

What is your intent in this interaction? What specific threat scenario are
you trying to mitigate?

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"luciano" <du***********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Hi everyone,

I want to create a application and a webservice, application connect to
web service to activate, web sevice will create a certificate to
authenticate this client, for each transaction between client anh
server, server will check cerfiticate of client connect to it. How do i
do that? Thanks for your reply.

Nov 17 '05 #2

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

Similar topics

1
by: Prashanth Uppunda | last post by:
Hello, Does anybody have an idea on how to instantiate a DCOM server residing in another machine using C#? Thanks Prashanth
3
by: John | last post by:
Hi. We had a PC that had Oracle Client 8.0.5 and 8.1.7 installed in Default_Home (c:\orant) and Default_Home1 (c:\oracle). A third party package, installed certain components of Oracle Client...
3
by: Wade | last post by:
I would like to install the .Net 1.1 framework on a Web Server running W2K to be able to run ASP.NET files, but I'm not sure where to find the files I need for the .Net framework. I have ".NET...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
7
by: ichor | last post by:
hi, i have created a c# application. now i want to install it on another machine. what does the client machine need to have ? does it need the dotnet framework ? and anything else? and how do i...
4
by: JaiPrakash Sharma | last post by:
Hi All, I have a question regarding Using a Windows based UserControl or Applications on the Web. My question is Must be the .NET Framework to be Installed on Client Machine, When any...
0
by: Niyazi | last post by:
Hi, I created application that store the data in SQL SERVER that reside on network. The client also use this application to access the resources provided with application. But is the client want...
2
by: ashishjainism | last post by:
I am unable to install my windows service and the installutil is throwing the following error: Running a transacted installation. Beginning the Install phase of the installation. See the...
9
by: =?Utf-8?B?U3RldmVuIFRhbmc=?= | last post by:
I want to download pfx from my asp.net server, add the pfx to client's X509Store as a trusted publisher, Is it possible? my func in aspx is like this: void InstallCertification() { try{...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
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...

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.