Welcome to ISAserver.org
Forums |
Register |
Login |
My Profile |
Inbox |
RSS
|
My Subscription |
My Forums |
Address Book |
Member List |
Search |
FAQ |
Ticket List |
Log Out
Publishing sharepoint with client certificate and Kerberos constrained delegation
|
Users viewing this topic:
none
|
Logged in as: Guest
|
Login | |
|
Publishing sharepoint with client certificate and Kerbe... - 30.Oct.2006 9:31:48 AM
|
|
|
peterbuus
Posts: 7
Joined: 30.Oct.2006
Status: offline
|
Hi, We want to publish sharepoint 2 SP2 through ISA 2006 using client certificate authentication. For test purposes I made a test installation with a win2003 R2 server acting both as domain controller (for domain TEST in win2003 functional level) and IIS/sharepoint server. On an other win2003 R2 server i have installed ISA 2006 and configured a sharepoint web publishing rule requiring client certificate and kerberos constrained delegation using SPN "http/sharepoint". On a third client winXP computer I have installed a client certificate. When hitting the ISA server I am prompted for client certificate - but authentication fails with error code 401 Unauthorized ... (12209) On the ISA server the monitoring log states an error 12239....requires authorization. However the Client Username on the logline is TEST/Peter which is the user I have namemapped to the client certificate. Thus ISA does indeed map my client certificate to the right account, but something goes wrong in the Kerberos delegation. I am quite confused on how to configure the "http/sharepoint" SPN - I have tried most (all) combinations of setspn -A http/sharepoint ISASERVER and setspn -A http/sharepoint DOMAINSERVER and the "Delegation" tab on the ISASERVER/DOMAINSERVER in AD. Can anybody tell me the correct configuration in my scenario? Does anybody know how to troubleshoot Kerberos constrained delegation? Regards / Peter
|
|
|
|
RE: Publishing sharepoint with client certificate and K... - 30.Oct.2006 12:35:21 PM
|
|
|
peterbuus
Posts: 7
Joined: 30.Oct.2006
Status: offline
|
I forgot to mention that I already did enable Sharepoint for Kerberos authentication /Peter
|
|
|
|
RE: Publishing sharepoint with client certificate and K... - 31.Oct.2006 9:52:23 AM
|
|
|
peterbuus
Posts: 7
Joined: 30.Oct.2006
Status: offline
|
Hi Tom I did read your article on OWA publishing and tried my best to copy the setup and configuration to a Sharepoint setup. However, I still cant make it work. My ISA server authenticates the User Certificate and maps it to the corresponding user account. I think the 12209/12239 error I encounter is releated to the subsequent Kerberos delegation. My ISA setup specifies Kerberos constrained delegation with the SPN http/sharepoint My understanding is that I further need to 'setspn -A http/sharepoint ISASERVER' and configure ISASERVER in AD to support kerberos for http/sharepoint as described in your article Should the delegation work if I (for test purposes) just checked 'Trust this computer for delegation to any service (Kerberos only)' in the AD delegation tab for ISASERVER? Is it a problem that my setup is based on vmware and not actual machines? Thanks Peter
|
|
|
|
RE: Publishing sharepoint with client certificate and K... - 31.Oct.2006 2:20:13 PM
|
|
|
spouseele
Posts: 12782
Joined: 1.Jun.2001
From: Belgium
Status: offline
|
Hi Peter, quote:
Should the delegation work if I (for test purposes) just checked 'Trust this computer for delegation to any service (Kerberos only)' in the AD delegation tab for ISASERVER? No, that option won't work because it implies that the user was originally authenticated by the Kerberos protocol. Selecting 'Trust this computer for delegation to specified services only' *and* selecting 'Use any authentication protocol' is therefore a requirement. Also, make sure you set the SPN in the web publishing rule to the *real* FQDN of the published web server and not a CNAME. HTH, Stefaan
|
|
|
|
RE: Publishing sharepoint with client certificate and K... - 1.Nov.2006 11:07:44 AM
|
|
|
peterbuus
Posts: 7
Joined: 30.Oct.2006
Status: offline
|
OK - I still cant make it work I made a new setup with 3 machines isa.signaturgruppen.dk (ISA server) dc.signaturgruppen.dk (domain controller) sharepoint.signaturgruppen.dk (sharepoint) When I configure a web publishing rule for sharepoint.signaturgruppen.dk ISA suggests the use of SPN http/sharepoint.signaturgruppen.dk Is it a correct understanding that I should setspn http/sharepoint.signaturgruppen.dk ISA and configure ISA server entry in AD to allow kerberos authentication to http/sharepoint.signaturgruppen.dk - or is it another way around? /Peter
|
|
|
|
RE: Publishing sharepoint with client certificate and K... - 1.Nov.2006 2:00:33 PM
|
|
|
spouseele
Posts: 12782
Joined: 1.Jun.2001
From: Belgium
Status: offline
|
Hi Peter, quote:
Is it a correct understanding that I should setspn http/sharepoint.signaturgruppen.dk ISA and configure ISA server entry in AD to allow kerberos authentication to http/sharepoint.signaturgruppen.dk - or is it another way around? Assuming 'sharepoint.signaturgruppen.dk' is the *real* hostname and not an alias than the proposed SPN on ISA should be OK. However, you shouldn't have to execute the command 'setspn http/sharepoint.signaturgruppen.dk ISA'. So, I suggest to remove first your custom SPN with the 'setspn -D' command. Thereafter, just go to the Active Directory Users and Computers, select the ISA computer account and than the Delegation tab. Now, make sure you select 'Trust this computer for delegation to specified services only' *and* 'Use any authentication protocol'. Next, click the add button and select first the sharepoint computer and than the HTTP service type. In my case that was enough to get the Kerberos Constrained Delegation working with a FBA and Radius user validation method. HTH, Stefaan
|
|
|
|
RE: Publishing sharepoint with client certificate and K... - 2.Nov.2006 3:56:03 AM
|
|
|
peterbuus
Posts: 7
Joined: 30.Oct.2006
Status: offline
|
Hi Stefaan Thanks a lot - your suggestion solved my problem. Apparently I did some unnecessary SPN panic..... /Peter
|
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|