Problem with STS sample

ucorda's picture
I am trying to run the sts-sample with WSAS 2.3. Everything seems fine until I get to step 7 of the sample instructions: "Upload sts-sample/conf/client.cert into the wso2wsas keystore using the WSO2WSAS admin console". When I try it I get the error: "Could not read private keys from keystore file. Invalid keystore format". I tried using both the password "admin" and the password "wso2wsas", but I always get the same error. Thank you, Ugo
ucorda's picture

Never mind. I was just using

Never mind. I was just using the wrong upload operation. Ugo
ucorda's picture

Problem with STS sample

I am now trying to run the 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 was provided (An X509 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
ucorda's picture

I was finally able to run

I was finally able to run the sample following the advices at http://www.nabble.com/Problem-running-sts-sample-to21507516.html
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)