This sample demonstrates the usage of wso2carbon-sts (Security Token Service) and its applications. The demonstration also uses the default Hello service as the service provider.
...
10. Select Hello Service and go to the service dashboard. Then select Security under Quality of Service Configuration, and setup security scenario "SecureConversation - Sign and Encrypt - Service as STS - Bootstrap policy - Sign and Encrypt , X509 Authentication" (scenario 11) on it. Make sure wso2carbon.jks keystore is used.”
11. Import sts-sample/conf/client.cert into the wso2carbon keystore using the AS Management Console.
...