getting Windows Identity Foundation “Developer Training Kit” examples to work

后端 未结 1 1628
迷失自我
迷失自我 2021-01-16 10:19

I downloaded the \"Developer Training Kit\" for Windows Identity Foundation and installed it on a newly set up Windows Server 2008 R2 virtual machine. When I open up the ex

相关标签:
1条回答
  • 2021-01-16 10:59

    I found a solution to this here: social.msdn.microsoft.com/....

    There is a bug in the installation script. You have to open the script and make changes with a text editor.

    To quote from the site linked above ( in case it disappears ), make the following change to SetupCertificates.cmd. Replace

    @if ("%IsWinClient%" == "true") (

    ECHO Setting up SSL at port 443 using localhost certificate...

    netsh http add sslcert ipport=0.0.0.0:443 appid={00000000-0000-0000-0000-000000000000} certhash=%CERTHASH% clientcertnegotiation=enable

    ) else (

    ECHO Importing server certificate and point HTTP.SYS at it...

    httpcfg.exe set ssl -i 0.0.0.0:443 -f 2 -h %CERTHASH%

    )

    With

    ECHO Setting up SSL at port 443 using localhost certificate...

    netsh http add sslcert ipport=0.0.0.0:443 appid={00000000-0000-0000-0000-000000000000} certhash=%CERTHASH% clientcertnegotiation=enable

    0 讨论(0)
提交回复
热议问题