Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > WSE2013: X509TokenProvider is unable to provide an X.509 token

Reply
Thread Tools Display Modes

WSE2013: X509TokenProvider is unable to provide an X.509 token

 
 
tdh
Guest
Posts: n/a

 
      04-29-2008
In windows server 2003, it works fine but windows server 2008. certificate
has imported "personal" and "other people" in "local machine" certificate
location by mmc-->certificates. run Certificates Tool installed by WSE 3.0, i
cannot find store name "personal" under "local machine" certificate location,
so i cannot config access right for it. what can i do? thanks.

server wse3policycache.config:

<serviceToken>
<x509 storeLocation="LocalMachine" storeName="My"
findValue="CN=******" findType="FindBySubjectDistinguishedName" />
</serviceToken>

client by certificate wse3policycache.config:

<serviceToken>
<x509 storeLocation="LocalMachine" storeName="AddressBook"
findValue="CN=******" findType="FindBySubjectDistinguishedName" />
</serviceToken>
client by code:
// Set the X509 Certifcate onto the assertion.
assertion.X509TokenProvider = new
X509TokenProvider(StoreLocation.LocalMachine,

StoreName.AddressBook,
"CN=******",

X509FindType.FindBySubjectDistinguishedName);


following is throw errors:


WSE2013: X509TokenProvider is unable to provide an X.509 token. There are no
certificates in the certificate store that match the find value of
'CN=******'.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.ArgumentException: WSE2013: X509TokenProvider is
unable to provide an X.509 token. There are no certificates in the
certificate store that match the find value of 'CN=*****'.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:


[ArgumentException: WSE2013: X509TokenProvider is unable to provide an X.509
token. There are no certificates in the certificate store that match the find
value of 'CN=****'. ]

Microsoft.Web.Services3.Design.X509TokenProvider.C reateToken(StoreLocation
location, StoreName storeName, String findValue, X509FindType findType) +429

Microsoft.Web.Services3.Design.ClientOutputFilter. .ctor(UsernameForCertificateAssertion assertion) +41

Microsoft.Web.Services3.Design.UsernameForCertific ateAssertion.CreateClientOutputFilter(FilterCreati onContext context) +51

Microsoft.Web.Services3.Design.Policy.CreateClient Pipeline(PipelineCreationContext context) +196
Microsoft.Web.Services3.WebServicesClientProtocol. SetPolicy(Policy
policy) +77
WSEClient.RunProxy() +457
_Default.Page_Load(Object sender, EventArgs e) +50
System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o,
Object t, EventArgs e) +25
System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender,
EventArgs e) +48
System.Web.UI.Control.OnLoad(EventArgs e) +133
System.Web.UI.Control.LoadRecursive() +66
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2604




 
Reply With Quote
 
 
 
 
Mark L. Ferguson
Guest
Posts: n/a

 
      04-29-2008
How Do I: Export and Import Certificates? :
http://msdn2.microsoft.com/security/cc424865.aspx

--
Was this helpful? Then click the Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales...eAPostAsAnswer
Mark L. Ferguson
..

"tdh" <> wrote in message
news893C2F8-AD8D-4E5E-8977-...
> In windows server 2003, it works fine but windows server 2008. certificate
> has imported "personal" and "other people" in "local machine" certificate
> location by mmc-->certificates. run Certificates Tool installed by WSE
> 3.0, i
> cannot find store name "personal" under "local machine" certificate
> location,
> so i cannot config access right for it. what can i do? thanks.
>
> server wse3policycache.config:
>
> <serviceToken>
> <x509 storeLocation="LocalMachine" storeName="My"
> findValue="CN=******" findType="FindBySubjectDistinguishedName" />
> </serviceToken>
>
> client by certificate wse3policycache.config:
>
> <serviceToken>
> <x509 storeLocation="LocalMachine" storeName="AddressBook"
> findValue="CN=******" findType="FindBySubjectDistinguishedName" />
> </serviceToken>
> client by code:
> // Set the X509 Certifcate onto the assertion.
> assertion.X509TokenProvider = new
> X509TokenProvider(StoreLocation.LocalMachine,
>
> StoreName.AddressBook,
> "CN=******",
>
> X509FindType.FindBySubjectDistinguishedName);
>
>
> following is throw errors:
>
>
> WSE2013: X509TokenProvider is unable to provide an X.509 token. There are
> no
> certificates in the certificate store that match the find value of
> 'CN=******'.
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information
> about
> the error and where it originated in the code.
>
> Exception Details: System.ArgumentException: WSE2013: X509TokenProvider is
> unable to provide an X.509 token. There are no certificates in the
> certificate store that match the find value of 'CN=*****'.
>
> Source Error:
>
> An unhandled exception was generated during the execution of the current
> web
> request. Information regarding the origin and location of the exception
> can
> be identified using the exception stack trace below.
>
> Stack Trace:
>
>
> [ArgumentException: WSE2013: X509TokenProvider is unable to provide an
> X.509
> token. There are no certificates in the certificate store that match the
> find
> value of 'CN=****'. ]
>
> Microsoft.Web.Services3.Design.X509TokenProvider.C reateToken(StoreLocation
> location, StoreName storeName, String findValue, X509FindType findType)
> +429
>
> Microsoft.Web.Services3.Design.ClientOutputFilter. .ctor(UsernameForCertificateAssertion
> assertion) +41
>
> Microsoft.Web.Services3.Design.UsernameForCertific ateAssertion.CreateClientOutputFilter(FilterCreati onContext
> context) +51
>
> Microsoft.Web.Services3.Design.Policy.CreateClient Pipeline(PipelineCreationContext
> context) +196
> Microsoft.Web.Services3.WebServicesClientProtocol. SetPolicy(Policy
> policy) +77
> WSEClient.RunProxy() +457
> _Default.Page_Load(Object sender, EventArgs e) +50
> System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o,
> Object t, EventArgs e) +25
> System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender,
> EventArgs e) +48
> System.Web.UI.Control.OnLoad(EventArgs e) +133
> System.Web.UI.Control.LoadRecursive() +66
> System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2604
>
>
>
>

 
Reply With Quote
 
tdh
Guest
Posts: n/a

 
      04-30-2008
i have imported my certificate into Local Machine certificate location.

"Mark L. Ferguson" wrote:

> How Do I: Export and Import Certificates? :
> http://msdn2.microsoft.com/security/cc424865.aspx
>
> --
> Was this helpful? Then click the Ratings button. Voting helps the web
> interface.
> http://www.microsoft.com/wn3/locales...eAPostAsAnswer
> Mark L. Ferguson
> .
>
> "tdh" <> wrote in message
> news893C2F8-AD8D-4E5E-8977-...
> > In windows server 2003, it works fine but windows server 2008. certificate
> > has imported "personal" and "other people" in "local machine" certificate
> > location by mmc-->certificates. run Certificates Tool installed by WSE
> > 3.0, i
> > cannot find store name "personal" under "local machine" certificate
> > location,
> > so i cannot config access right for it. what can i do? thanks.
> >
> > server wse3policycache.config:
> >
> > <serviceToken>
> > <x509 storeLocation="LocalMachine" storeName="My"
> > findValue="CN=******" findType="FindBySubjectDistinguishedName" />
> > </serviceToken>
> >
> > client by certificate wse3policycache.config:
> >
> > <serviceToken>
> > <x509 storeLocation="LocalMachine" storeName="AddressBook"
> > findValue="CN=******" findType="FindBySubjectDistinguishedName" />
> > </serviceToken>
> > client by code:
> > // Set the X509 Certifcate onto the assertion.
> > assertion.X509TokenProvider = new
> > X509TokenProvider(StoreLocation.LocalMachine,
> >
> > StoreName.AddressBook,
> > "CN=******",
> >
> > X509FindType.FindBySubjectDistinguishedName);
> >
> >
> > following is throw errors:
> >
> >
> > WSE2013: X509TokenProvider is unable to provide an X.509 token. There are
> > no
> > certificates in the certificate store that match the find value of
> > 'CN=******'.
> > Description: An unhandled exception occurred during the execution of the
> > current web request. Please review the stack trace for more information
> > about
> > the error and where it originated in the code.
> >
> > Exception Details: System.ArgumentException: WSE2013: X509TokenProvider is
> > unable to provide an X.509 token. There are no certificates in the
> > certificate store that match the find value of 'CN=*****'.
> >
> > Source Error:
> >
> > An unhandled exception was generated during the execution of the current
> > web
> > request. Information regarding the origin and location of the exception
> > can
> > be identified using the exception stack trace below.
> >
> > Stack Trace:
> >
> >
> > [ArgumentException: WSE2013: X509TokenProvider is unable to provide an
> > X.509
> > token. There are no certificates in the certificate store that match the
> > find
> > value of 'CN=****'. ]
> >
> > Microsoft.Web.Services3.Design.X509TokenProvider.C reateToken(StoreLocation
> > location, StoreName storeName, String findValue, X509FindType findType)
> > +429
> >
> > Microsoft.Web.Services3.Design.ClientOutputFilter. .ctor(UsernameForCertificateAssertion
> > assertion) +41
> >
> > Microsoft.Web.Services3.Design.UsernameForCertific ateAssertion.CreateClientOutputFilter(FilterCreati onContext
> > context) +51
> >
> > Microsoft.Web.Services3.Design.Policy.CreateClient Pipeline(PipelineCreationContext
> > context) +196
> > Microsoft.Web.Services3.WebServicesClientProtocol. SetPolicy(Policy
> > policy) +77
> > WSEClient.RunProxy() +457
> > _Default.Page_Load(Object sender, EventArgs e) +50
> > System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o,
> > Object t, EventArgs e) +25
> > System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender,
> > EventArgs e) +48
> > System.Web.UI.Control.OnLoad(EventArgs e) +133
> > System.Web.UI.Control.LoadRecursive() +66
> > System.Web.UI.Page.ProcessRequestMain(Boolean
> > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2604
> >
> >
> >
> >

 
Reply With Quote
 
tdh
Guest
Posts: n/a

 
      04-30-2008
i have imported my certificate into "local machine" certificate location.

"Mark L. Ferguson" wrote:

> How Do I: Export and Import Certificates? :
> http://msdn2.microsoft.com/security/cc424865.aspx
>
> --
> Was this helpful? Then click the Ratings button. Voting helps the web
> interface.
> http://www.microsoft.com/wn3/locales...eAPostAsAnswer
> Mark L. Ferguson
> .
>
> "tdh" <> wrote in message
> news893C2F8-AD8D-4E5E-8977-...
> > In windows server 2003, it works fine but windows server 2008. certificate
> > has imported "personal" and "other people" in "local machine" certificate
> > location by mmc-->certificates. run Certificates Tool installed by WSE
> > 3.0, i
> > cannot find store name "personal" under "local machine" certificate
> > location,
> > so i cannot config access right for it. what can i do? thanks.
> >
> > server wse3policycache.config:
> >
> > <serviceToken>
> > <x509 storeLocation="LocalMachine" storeName="My"
> > findValue="CN=******" findType="FindBySubjectDistinguishedName" />
> > </serviceToken>
> >
> > client by certificate wse3policycache.config:
> >
> > <serviceToken>
> > <x509 storeLocation="LocalMachine" storeName="AddressBook"
> > findValue="CN=******" findType="FindBySubjectDistinguishedName" />
> > </serviceToken>
> > client by code:
> > // Set the X509 Certifcate onto the assertion.
> > assertion.X509TokenProvider = new
> > X509TokenProvider(StoreLocation.LocalMachine,
> >
> > StoreName.AddressBook,
> > "CN=******",
> >
> > X509FindType.FindBySubjectDistinguishedName);
> >
> >
> > following is throw errors:
> >
> >
> > WSE2013: X509TokenProvider is unable to provide an X.509 token. There are
> > no
> > certificates in the certificate store that match the find value of
> > 'CN=******'.
> > Description: An unhandled exception occurred during the execution of the
> > current web request. Please review the stack trace for more information
> > about
> > the error and where it originated in the code.
> >
> > Exception Details: System.ArgumentException: WSE2013: X509TokenProvider is
> > unable to provide an X.509 token. There are no certificates in the
> > certificate store that match the find value of 'CN=*****'.
> >
> > Source Error:
> >
> > An unhandled exception was generated during the execution of the current
> > web
> > request. Information regarding the origin and location of the exception
> > can
> > be identified using the exception stack trace below.
> >
> > Stack Trace:
> >
> >
> > [ArgumentException: WSE2013: X509TokenProvider is unable to provide an
> > X.509
> > token. There are no certificates in the certificate store that match the
> > find
> > value of 'CN=****'. ]
> >
> > Microsoft.Web.Services3.Design.X509TokenProvider.C reateToken(StoreLocation
> > location, StoreName storeName, String findValue, X509FindType findType)
> > +429
> >
> > Microsoft.Web.Services3.Design.ClientOutputFilter. .ctor(UsernameForCertificateAssertion
> > assertion) +41
> >
> > Microsoft.Web.Services3.Design.UsernameForCertific ateAssertion.CreateClientOutputFilter(FilterCreati onContext
> > context) +51
> >
> > Microsoft.Web.Services3.Design.Policy.CreateClient Pipeline(PipelineCreationContext
> > context) +196
> > Microsoft.Web.Services3.WebServicesClientProtocol. SetPolicy(Policy
> > policy) +77
> > WSEClient.RunProxy() +457
> > _Default.Page_Load(Object sender, EventArgs e) +50
> > System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o,
> > Object t, EventArgs e) +25
> > System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender,
> > EventArgs e) +48
> > System.Web.UI.Control.OnLoad(EventArgs e) +133
> > System.Web.UI.Control.LoadRecursive() +66
> > System.Web.UI.Page.ProcessRequestMain(Boolean
> > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2604
> >
> >
> >
> >

 
Reply With Quote
 
Mark L. Ferguson
Guest
Posts: n/a

 
      04-30-2008
Several threads here are seeing MMC problems since SP1. Something has
changed since GPEdit took over the tasks. You should probably escalate your
question to SP1 support.

Windows Vista Service Pack 1 Support:
http://technet.microsoft.com/en-us/w.../cc295800.aspx
--
Was this helpful? Then click the Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales...eAPostAsAnswer
Mark L. Ferguson
..

"tdh" <> wrote in message
news:9B84AABF-2EF3-4B36-AE8F-...
> i have imported my certificate into "local machine" certificate location.
>
> "Mark L. Ferguson" wrote:
>
>> How Do I: Export and Import Certificates? :
>> http://msdn2.microsoft.com/security/cc424865.aspx
>>
>> --
>> Was this helpful? Then click the Ratings button. Voting helps the web
>> interface.
>> http://www.microsoft.com/wn3/locales...eAPostAsAnswer
>> Mark L. Ferguson
>> .
>>
>> "tdh" <> wrote in message
>> news893C2F8-AD8D-4E5E-8977-...
>> > In windows server 2003, it works fine but windows server 2008.
>> > certificate
>> > has imported "personal" and "other people" in "local machine"
>> > certificate
>> > location by mmc-->certificates. run Certificates Tool installed by WSE
>> > 3.0, i
>> > cannot find store name "personal" under "local machine" certificate
>> > location,
>> > so i cannot config access right for it. what can i do? thanks.
>> >
>> > server wse3policycache.config:
>> >
>> > <serviceToken>
>> > <x509 storeLocation="LocalMachine" storeName="My"
>> > findValue="CN=******" findType="FindBySubjectDistinguishedName" />
>> > </serviceToken>
>> >
>> > client by certificate wse3policycache.config:
>> >
>> > <serviceToken>
>> > <x509 storeLocation="LocalMachine" storeName="AddressBook"
>> > findValue="CN=******" findType="FindBySubjectDistinguishedName" />
>> > </serviceToken>
>> > client by code:
>> > // Set the X509 Certifcate onto the assertion.
>> > assertion.X509TokenProvider = new
>> > X509TokenProvider(StoreLocation.LocalMachine,
>> >
>> > StoreName.AddressBook,
>> > "CN=******",
>> >
>> > X509FindType.FindBySubjectDistinguishedName);
>> >
>> >
>> > following is throw errors:
>> >
>> >
>> > WSE2013: X509TokenProvider is unable to provide an X.509 token. There
>> > are
>> > no
>> > certificates in the certificate store that match the find value of
>> > 'CN=******'.
>> > Description: An unhandled exception occurred during the execution of
>> > the
>> > current web request. Please review the stack trace for more information
>> > about
>> > the error and where it originated in the code.
>> >
>> > Exception Details: System.ArgumentException: WSE2013: X509TokenProvider
>> > is
>> > unable to provide an X.509 token. There are no certificates in the
>> > certificate store that match the find value of 'CN=*****'.
>> >
>> > Source Error:
>> >
>> > An unhandled exception was generated during the execution of the
>> > current
>> > web
>> > request. Information regarding the origin and location of the exception
>> > can
>> > be identified using the exception stack trace below.
>> >
>> > Stack Trace:
>> >
>> >
>> > [ArgumentException: WSE2013: X509TokenProvider is unable to provide an
>> > X.509
>> > token. There are no certificates in the certificate store that match
>> > the
>> > find
>> > value of 'CN=****'. ]
>> >
>> > Microsoft.Web.Services3.Design.X509TokenProvider.C reateToken(StoreLocation
>> > location, StoreName storeName, String findValue, X509FindType findType)
>> > +429
>> >
>> > Microsoft.Web.Services3.Design.ClientOutputFilter. .ctor(UsernameForCertificateAssertion
>> > assertion) +41
>> >
>> > Microsoft.Web.Services3.Design.UsernameForCertific ateAssertion.CreateClientOutputFilter(FilterCreati onContext
>> > context) +51
>> >
>> > Microsoft.Web.Services3.Design.Policy.CreateClient Pipeline(PipelineCreationContext
>> > context) +196
>> > Microsoft.Web.Services3.WebServicesClientProtocol. SetPolicy(Policy
>> > policy) +77
>> > WSEClient.RunProxy() +457
>> > _Default.Page_Load(Object sender, EventArgs e) +50
>> > System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object
>> > o,
>> > Object t, EventArgs e) +25
>> > System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object
>> > sender,
>> > EventArgs e) +48
>> > System.Web.UI.Control.OnLoad(EventArgs e) +133
>> > System.Web.UI.Control.LoadRecursive() +66
>> > System.Web.UI.Page.ProcessRequestMain(Boolean
>> > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
>> > +2604
>> >
>> >
>> >
>> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveX won't install when IE7 is run with full admin token fltcpt@yahoo.com Windows Vista Security 1 01-26-2008 06:45 AM
Best seller,Best service,Provide Best bot cherrytree Windows Vista Games 0 10-29-2007 01:33 AM
Windows vista and Token.ring adatper Simongrass Windows Vista Installation 3 11-17-2006 04:20 PM
PLZ Provide more shortcut key! Colin Barnhorst Windows Vista General Discussion 1 08-06-2006 11:51 PM
how to get orignal token after Elevation? dispaly name Windows Vista Security 2 07-26-2006 01:09 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59