on 02-26-2015 10:43 AM
Hello everbody!
We’ve started a project with SAP ODATA Gateway Service and Visual Studio 2012 with GWM Trial add-in. What we want to achieve is single sign on (SSO) using a X509 certificate.
The configuration on the SAP side seems to be ok, since we can open the specific ODATA service within a browser and I see my entityset data. From my perspective that also means that my client certificate matches the corresponding certificate on the SAP side.
But it doesn’t work from my c# project! We get an exception:
bei SAP.IW.SSO.X509CertificateUtil.GetUserCertificate(String[] issuers)
I’ve set the keys in the app.config
<add key="SSO" value="X509" />
<add key="RootCASubjectName" value="CN = etc., DC = etc, DC = etc."/>
I copy and paste the string value for the RootCASubjectName key directly from certificate property and not only the issuer but also the subject name property. I did this for all nodes in the certificate path.
But still no success. So I got no ideas anymore. Does anybody have experience with this topic? I would gratefully appreciate any slightest hints.
Thanks in advance
Miles
Hi guys,
the solution was quite simple, the 'RootCASubjectName' key has to be without any spaces.
Best regards
Miles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.