You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Ruchith Fernando <ru...@gmail.com> on 2004/08/29 23:42:37 UTC
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