Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Probelms in useing my own private key with crypto.properties: msg#00223

apache.webservices.fx.devel

Subject: Probelms in useing my own private key with crypto.properties

Hi All,

I'm trying to use my own keys to test the saml samples (STScenario3).
but I'm getting the following exception :

WSDoAllSender: Signed SAML: error during message
processingorg.apache.ws.security.WSSecurityException: General security
error (Unexpected number of X509Data: for Signature) (stack trace
attatched)

I creted a private key using the makecert tool (Microsoft .NET)
(http://download.microsoft.com/download/platformsdk/Update/5.131.3617.0/NT45XP/EN-US/makecert.exe)

makecert -r -pe -ss My -n CN=Ruchith -sk Ruchith -len 512

Then I exported the .pfx file, including the private key, with out
enabling strong protection (- options in exporting) - "test.pfx" and
refered to it in the crypto.properties file.
I used the attatched CertTest.java to find the alias
"ad2aab69-7702-4ce5-9711-423745aef47f"

Up to this point the I don't see any difference between
"x509.PFX.MSFT" file used in crypto.properties and the "test.pfx" file
(attatched).

Can someone please tell me where I have gone wrong :)

Thanks

Ruchith

Attachment: trace.txt
Description: Text document

Attachment: test.pfx
Description: application/pkcs12

Attachment: CertTest.java
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation