CryptAcquireContext failed for non-interactive user
- From: dimi <bgpages@xxxxxxxxx>
- Date: Mon, 22 Oct 2007 16:01:39 -0000
Hi all,
i have a problem when using CryptAcquireContext in application which
is started from service.
CryptAcquireContext failed with 0x80090020 - An internal error
occurred
The same application works fine when it is started from command
prompt.
As i see it can work and from service but for that i should change my
service to run under "Interactive user" or to make LogonUser in this
application with LOGON32_LOGON_INTERACTIVE
Is there any idea what to do and where can be the problem, because i
don't like the above workarounds.
CryptAcquireContext work fine and when my service is started with
Local Service account but in this case i have problem to reach private
keys on smart card.
OS is Windows server 2003, under XP all is OK.
Thanks in advance
.
- Follow-Ups:
- RE: CryptAcquireContext failed for non-interactive user
- From: lelteto
- RE: CryptAcquireContext failed for non-interactive user
- Prev by Date: Re: Service Principal Name in Kerberos
- Next by Date: RE: SEC_WINNT_AUTH_IDENTITY_EX domain member question
- Previous by thread: Installing several certificates from the PFX
- Next by thread: RE: CryptAcquireContext failed for non-interactive user
- Index(es):
Relevant Pages
|