« Return to Thread: Problem running sts-sample
Hi Ugo,
Please replace the wso2wsas-2.3/samples/sts-sample/conf/sts.policy.xml file with one that is attached in this mail. The only change sp:RequireThumbprintReference/> assertion with the <sp:X509Token/> assertion. This is required as we are using version 1 - X.509 certificates.
And the documentation seems to be a bit outdated. In step 6, it should be scenario #17 and not scenario #12. In step 8, make sure the <echo-service-http-address> you enter is the exact one you used in step 5, STS configuration.
I was able to run it successfully with above steps.
thanks,
nandanaOn Sat, Jan 17, 2009 at 1:37 AM, Ugo <ugo.corda@...> wrote:<sts.policy.xml>____________________________________ user mailing list
I am trying to run the sts-sample client (step 8 in the sts-sample
instructions), but I am getting a run-time error:
D:\wso2wsas-2.3\samples\sts-sample>run-client.bat
http://192.168.1.100:9762/services/wso2wsas-sts
http://192.168.1.100:9762/services/echo
Using WSO2WSAS_HOME: D:\wso2wsas-2.3
Using JAVA_HOME: D:\Java\jdk1.5.0_12
Security token service endpoint address:
http://192.168.1.100:9762/services/wso2wsas-sts
Secured Service endpoint address: http://192.168.1.100:9762/services/echo
log4j:WARN No appenders could be found for logger
(org.apache.axis2.deployment.FileSystemConfigurator).
log4j:WARN Please initialize the log4j system properly.
org.apache.axis2.AxisFault: Error during encryption
at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:70)
...
Caused by: org.apache.ws.security.WSSecurityException: An unsupported token
9 certificate with version 3 must be used for SKI. The presented cert
has version: 1)
at
org.apache.ws.security.message.token.SecurityTokenReference.setKeyIdentifierSKI(SecurityTokenReference.java:272)
...
Any clue of what might be wrong?
Thank you,
Ugo
--
View this message in context: http://www.nabble.com/Problem-running-sts-sample-tp21507516p21507516.html
Sent from the WSO2 WSAS Users mailing list archive at Nabble.com.
_______________________________________________
Wsas-java-user mailing list
Wsas-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user
Wsas-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user
« Return to Thread: Problem running sts-sample
| Free embeddable forum powered by Nabble | Forum Help |