Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / July 2005

Tip: Looking for answers? Try searching our database.

FailedCheck, SecurityFault, signature or decryption was invalid

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lucy - 08 Jun 2005 19:00 GMT
Hello,
I'm kind of new to WSE 2.0 (sp3) so not sure how to solve this problem.
Running Win2K3 with SP1 and trying to use Kerberos signature only, no
encryption yet.  My test helloworld program gives me an error, so I figured I
should try to use the examples provided.

I tried the Kerberos policy example that comes with WSE and it also gives me
the same error:

Calling http://localhost/KerberosPolicyService/KerberosService.asmx
****** Exception Raised ******
System.Web.Services.Protocols.SoapException:
SOAP-Fault code:
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecur
ity-secext-1.0.xsd:FailedCheck
Message: The signature or decryption was invalid
  at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream, Boolean
asyncCal
l)
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodN
ame, Object[] parameters)
  at KerberosClient.StockServiceWse.StockQuoteRequest(String[] symbols) in
C:\P
rogram Files\Microsoft
WSE\v2.0\Samples\CS\QuickStart\Kerberos\Policy\KerberosPo
licyClient\KerberosProxy.cs:line 51
  at KerberosClient.KerberosClient.Run() in C:\Program Files\Microsoft
WSE\v2.
\Samples\CS\QuickStart\Kerberos\Policy\KerberosPolicyClient\KerberosClient.cs:li
ne 118
  at KerberosClient.KerberosClient.Main(String[] args) in C:\Program
Files\Micr
osoft
WSE\v2.0\Samples\CS\QuickStart\Kerberos\Policy\KerberosPolicyClient\Kerber
osClient.cs:line 62
******************************

Press [Enter] to continue...
Thanks in advance for your help.
Johnny Wishbone - 16 Jun 2005 00:29 GMT
Hi Lucy,

I have just started to receive the same error message using kerberos.
If you find a way to get around it, could you please post it?

Thank you
Johnny
Lucy - 20 Jul 2005 20:51 GMT
The answer is to use KerberosToken2.

KerberosToken2 kerbToken = new KerberosToken2(targetPrincipalName,
ImpersonationLevel.Identification);

But, be prepared that when WSE 3.0 comes out - you'll need to change back to
KerberosToken.  It's in the Web Services 3.0 Enhancements Technology Preview
Release notes

Cheers,
Lucy

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.