Re: Can a Windows service find a certificate ?
From: Sergio Dutra [MS] (sergiod_at_online.microsoft.com)
Date: 09/25/03
- Next message: Sergio Dutra [MS]: "Re: CryptoAPI Decrypt or Encrypt Issue ON win2k IIS application"
- Previous message: Michael Stangel: "Unable to create AES cluster checkpoint on Server 2003"
- In reply to: Vincent Vangoethem: "Re: Can a Windows service find a certificate ?"
- Next in thread: Alun Jones [MS MVP]: "Re: Can a Windows service find a certificate ?"
- Reply: Alun Jones [MS MVP]: "Re: Can a Windows service find a certificate ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 25 Sep 2003 09:12:07 -0700
If you wish to use a certificate and its corresponding private key you will
typically want to have the private key generated by the account which will
access it (in this case, the service account). Otherwise, if the private key
is generated by another account, you will need to set the ACLs on the key to
allow the service account to access it.
Other than that, you can simply import the certificate and private key (if
in a PFX format) into the local machine "MY" store, which will make the
certificate available to any account - even those running as a service - but
the corresponding private key will be accessible only by the account that
generated it.
-- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm "Vincent Vangoethem" <vangoethem@hotmail.com> wrote in message news:1fa2e6d.0309241358.56d43752@posting.google.com... > alun@texis.com (Alun Jones [MS MVP]) wrote in message news:<Mc3cb.1673$fw6.1374@newssvr23.news.prodigy.com>... > > What user installed the certificate, and what user is the service logged on > > as? > > I can choose these users. > So what would you advice ? > Which user (administrator ?) can install a certificate that can be > shared by all user on the machine ? Or beter : Which user can install > a certificate that can be used by a NT service running as LocalSystem > ? > > Thanks for advance. > > Vincent
- Next message: Sergio Dutra [MS]: "Re: CryptoAPI Decrypt or Encrypt Issue ON win2k IIS application"
- Previous message: Michael Stangel: "Unable to create AES cluster checkpoint on Server 2003"
- In reply to: Vincent Vangoethem: "Re: Can a Windows service find a certificate ?"
- Next in thread: Alun Jones [MS MVP]: "Re: Can a Windows service find a certificate ?"
- Reply: Alun Jones [MS MVP]: "Re: Can a Windows service find a certificate ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|