Tuesday, September 9, 2014

SharePoint Error in people picker in Infopath filler for SSL termination at F5 rather than at the web application/IIS level

The error occurs in the InfoPath filler people picker:  calls fails /_vti_bin/spclaimproviderwebservice.https.svc


when the SSL termination is done at the F5. 


To resolve, you'll need to create a iRule in F5 or in IIS to strip of the .https for the following two services:


spclaimproviderwebservice.https.svc
and
cellstorage.https.svc

IIS:

<rule name="SpClaimProviderWebService" stopProcessing="true">
<match url="^(.*)spclaimproviderwebservice.https.svc$" />
<action type="Rewrite" url="{R:1}spclaimproviderwebservice.svc" />
</rule>


<rule name="cellStorage" stopProcessing="true">
<match url="^(.*)cellstorage.https.svc$" />
<action type="Rewrite" url="{R:1}cellstorage.https.svc" />
</rule>


F5:


when HTTP_REQUEST {
if { [[string tolower] [HTTP::path]] contains "spclaimproviderwebservice.https.svc"} {
HTTP::path [string map {.https ""} [HTTP::path]]
}
}
when HTTP_REQUEST {
if { [[string tolower] [HTTP::path]] contains "cellstorage.https.svc"} {
HTTP::path [string map {.https ""} [HTTP::path]]
}
}

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Ok, once again without square brackets :)
      =========================================

      Think there is a typo in the IIS rule for cellstorage.https.svc:

      (rule name="cellStorage" stopProcessing="true")
      (match url="^(.*)cellstorage.https.svc$" /)
      (action type="Rewrite" url="{R:1}spclaimproviderwebservice.svc" /)
      (/rule)

      ... should'nt it be:

      (rule name="cellStorage" stopProcessing="true")
      (match url="^(.*)cellstorage.https.svc$" /)
      (action type="Rewrite" url="{R:1}cellstorage.svc" /)
      (/rule)

      The F5 rules seem to be correct.

      Regs
      Martin

      Delete