Re: CryptAcquireContext failed for non-interactive user
- From: dimi <bgpages@xxxxxxxxx>
- Date: Fri, 26 Oct 2007 12:27:00 -0000
Hello Laszlo,
thank you for your replay.
I've already tested with CRYPT_MACHINE_KEYSET.
In my case with Smart Card (+ Pin number) seems that private key is
inaccessible because i can get the certificate but finally my request
via SSL is failed.
As i think this means that i can't get the PK during the establishment
of the connection. Seems that my smart card (where is stored the PK )
is available only for the specified user and not for Local system
account. If i run this service with the particular account and
CRYPT_MACHINE_KEYSET there is no difference, it failed again, like
explanation in my post above.
What you mean with CRYPT_VERIFYCONTEXT i've tried with
if (CryptAcquireContext(ref hCryptProv,
......
PROV_RSA_FULL,
CRYPT_SILENT | CRYPT_VERIFYCONTEXT)
but i get the same story - failed CryptAcquireContext
Regards
.
- References:
- Prev by Date: Re: Service Principal Name in Kerberos
- Next by Date: Showing/hiding WCF components depending on users authority
- Previous by thread: RE: CryptAcquireContext failed for non-interactive user
- Next by thread: EV root installation and IE7 EV validation problem
- Index(es):
Relevant Pages
|