Hi Henan, There is a sample command if the IDP is WSO2 Identity Server where you can export the public certificate in PEM format.
keytool -exportcert -alias wso2carbon -keypass wso2carbon -keystore wso2carbon.jks -storepass wso2carbon -rfc -file ispublic_crt.pem Then, you can open the certificate file with a notepad so you see the certificate value. You can copy this certificate value and put in the file with in the <Certificate> tag. Please note that above is only if the IDP is WSO2 IS. If the IDP is a third party IDP, then you can get the certificate in PEM format and read the value. And the you need to copy the entire content of the PEM file and place it between the tags. Thanks, Hasanthi. Hasanthi Dissanayake Software Engineer | WSO2 E: hasan...@wso2.com M :0718407133| http://wso2.com <http://wso2.com/> On Wed, Jul 5, 2017 at 11:40 PM, Farasath Ahamed <farasa...@wso2.com> wrote: > Hi Hanen, > > I have attached a sample file based IDP file that demonstrates how to add > <Certificate> tag and the IDP role mapping as well. > > > Thanks, > Farasath > > Farasath Ahamed > Software Engineer, WSO2 Inc.; http://wso2.com > Mobile: +94777603866 > Blog: blog.farazath.com > Twitter: @farazath619 <https://twitter.com/farazath619> > <http://wso2.com/signature> > > > > On Wed, Jul 5, 2017 at 9:09 PM, Hanen Ben Rhouma <hanen...@gmail.com> > wrote: > >> Same question for the tag <Certificate> please. We're using a certificate >> so what should we mention in the xml file. >> >> >> >> Regards, >> Hanen >> >> >> >> >> >> >> On Wed, Jul 5, 2017 at 5:36 PM, Hanen Ben Rhouma <hanen...@gmail.com> >> wrote: >> >>> Hello guys, >>> >>> Could you please tell me what are the xml tags I can use within an IDP >>> xml config file for role mapping. I mean the properties I can add for >>> mapping roles in the tag <PermissionAndRoleConfig> >>> in default.xml for example >>> >>> >>> Rehards, >>> Hanen >>> >> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev