Questions tagged [x509securitytokenmanager]
9 questions
13
votes
3 answers
JwtSecurityTokenHandler().ValidateToken() :: Signature validation failed... sha256 not supported in this context
I am getting the following error when I execute the JwtSecurityTokenHandler().ValidateToken() function:
Here is my pseudo-code:
var jwtToken = {...}
var tokenHandler = new JwtSecurityTokenHandler();
var validationParameters = new…

user1265146
- 1,985
- 5
- 16
- 20
3
votes
1 answer
exchange web services x509 Certivicate
I am trying to connect to Exchange Web Services to send an email on behalf of a user through my own Web Service (ASP/WCF). My code works fine when running on a desktop PC able to connect to the exchange server but when operating over the internet…

Seph
- 8,472
- 10
- 63
- 94
3
votes
3 answers
Cannot find the X.509 Certificate using the following search criteria:
I get this message:
Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'LocalMachine', FindType 'FindBySubjectDistinguishedName', FindValue 'CN=HighBall'.
My web.config setup looks like…

Adron
- 2,371
- 7
- 25
- 30
2
votes
1 answer
Get security token from AWS Credentials Provider
Can somebody explain me, how do I need to implement the first step from this blog?
I can't find it in AWS documentation.
In other words, I need to translate a command:
curl --cert eeb81a0eb6-certificate.pem.crt --key eeb81a0eb6-private.pem.key -H…

Rougher
- 834
- 5
- 19
- 46
2
votes
2 answers
How to sign custom Soap Header?
I've added a custom soap header element to the element and the requirments states that i must sign this element , how would one do that?
contains a number of things (username, preferences, etc) that identifies a…

Carl-Johan
- 103
- 1
- 7
2
votes
2 answers
How to Extract X509 certificate Smart Card
I need programmatically extract or import X509 certificate from Smart Card without saving it to personal store. Does anyone know the way to implement it?
C sharp language. I can sign with Smart Card CSP. But dont know how read certificate from…

Emin Javadov
- 140
- 1
- 8
1
vote
1 answer
Encrypt a SOAP Message Using an X.509 Certificate error
Have a nice day need a help from here i have securityManager Class which inherit on SendSecurityFilter class WSE3 but it returns error when it build it genarate this error please help me to solve this some one know about this class…

user2939764
- 15
- 4
1
vote
1 answer
Local STS hosted in IIS - Error message 401.2.: Unauthorized: Logon failed due to server configuration
Error message 401.2.: Unauthorized: Logon failed due to server configuration. Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server. Contact…

user384080
- 4,576
- 15
- 64
- 96
0
votes
1 answer
Is there a way to extract a certificate from an etoken
Is there a way to extract a certificate from an etoken programmatically using java?
If so, can it be converted to a Java KeyStore(.jks) file?
This is my code
String alias;
SunPKCS11 sunpkcs11;
Key privateKey;
String cfgFile =…

Vin
- 148
- 2
- 15