Re: [Dev] STS Client sample Doesn't work for Non-repudiation

2017-01-16 Thread Ashen Weerathunga
Hi Hasintha, Thanks for providing the solution. It worked fine after changing the *path.policy.sts* property to *sts-policy-signonly.xml *in the client.properties file. In the default sample it was sts-policy-ut.xml. Even though it worked for UsernameToken scenario, it needs to be changed for

Re: [Dev] STS Client sample Doesn't work for Non-repudiation

2017-01-16 Thread Hasintha Indrajee
Hi Ashen, Few things you need to pay attention while getting this client working. 1) As [1] suggests you need to generate a new key pair in client's key store for user. The existing keys in the sample are expired. Therefore please use a new key store and add a new key pair in order to get this

Re: [Dev] STS Client sample Doesn't work for Non-repudiation

2017-01-16 Thread Ashen Weerathunga
Hi, I also tried the STS client with non-repudiation. But gives the following error. Is there any configs need to be changed in the sample? org.apache.rahas.TrustException: Error in obtaining token from : " https://localhost:9443/services/wso2carbon-sts; at