I need to resolve an opensaml artifact with a IDP that is SSL enabled. For this the artifact , a random string generated at IDP and send to SP via web channel , this artifact would be send to back IDP in a web service to get the assertion , basically assertion is a metadata of the user, for this i am using this article
It is a good article but it lacks the most important aspect , the SSL part. I have a set of public keys of the IDP that i would like to communicate . The SOAP client builder requires the SSLSocketFactory inorder to communicate over the HTTPS . But I donno what steps i need to follow ? how to create the key manager and trust manager ? . How my trust manager would decide which public key to use at run time
Please help