SURFscz / SRAM-deploy

Deploy scripts for the SCZ
Apache License 2.0
5 stars 5 forks source link

Add test-idp-ssl role #472

Closed mrvanes closed 12 months ago

baszoetekouw commented 1 year ago

@mrvanes I've renamed this role to something that is less confusing (hopefully), and cleaned up the config a bit.

It now basically works, except that not all attributes are gathered from the x509 cert correctly. The new IdP gives:

Screenshot 2023-09-19 at 13 45 54

While the old one gives: Screenshot 2023-09-19 at 13 56 56

So please fix:

mrvanes commented 1 year ago

Subject-id is fixed https://github.com/SURFscz/remoteuserssl/commit/c50150795a0d6bed246167c0452d2cad03018d9e

Can't reproduce uid/mail/eppn problem. My DN correctly contains emailAddress (case-sensitive): emailAddress=martin.vanes@surf.nl,CN=Martin van Es,C=NL,ST=Utrecht,street=Moreelsepark 48,O=SURF B.V.,postalCode=3511 EP https://github.com/SURFscz/remoteuserssl/blob/main/src/Auth/Source/RemoteUserSSL.php#L81 image

mrvanes commented 1 year ago

https://github.com/SURFscz/remoteuserssl/commit/ec3cf66d00e5d8a617e8837fb64523301c18fbe0