2016-10-04 5 views
1

IIS 10에서 별도의 응용 프로그램으로 Identity Server 3을 호스팅하려고합니다. "/ identity"가상 경로가있는 응용 프로그램을 추가하고 디버그 디렉터리를 가리 킵니다. "http://localhost/identity/.well-known/openid-configuration"로 이동하려고하면 "HTTP 오류 404.0 - 찾을 수 없음"이 표시됩니다. 디버그 디렉토리의 프로젝트는 Visual Studio 2015에서 독립 실행 형 서버로 완벽하게 실행됩니다. 아이디어가 부족합니다.IIS에서 Identity Server 3 호스팅

덧붙여 말하자면 잠재적 인 문제를 해결하기 위해 SSL을 중단하고 https를 사용 중지했습니다.

신원 서버 로그 :

w3wp.exe Warning: 0 : 2016-10-04 13:44:23.940 +01:00 [Warning] AuthorizationCodeStore not configured - falling back to InMemory 
w3wp.exe Warning: 0 : 2016-10-04 13:44:23.950 +01:00 [Warning] TokenHandleStore not configured - falling back to InMemory 
w3wp.exe Warning: 0 : 2016-10-04 13:44:23.952 +01:00 [Warning] ConsentStore not configured - falling back to InMemory 
w3wp.exe Warning: 0 : 2016-10-04 13:44:23.952 +01:00 [Warning] RefreshTokenStore not configured - falling back to InMemory 
w3wp.exe Information: 0 : 2016-10-04 13:44:24.346 +01:00 [Information] { 
    "Category": "Information", 
    "Name": "Signing certificate validation success", 
    "EventType": "Information", 
    "Id": 4012, 
    "Details": { 
    "SigningCertificateName": "CN=identityServer", 
    "SigningCertificateExpiration": "2019-12-31T23:00:00+00:00" 
    }, 
    "Context": { 
    "TimeStamp": "2016-10-04T12:44:24.2176795+00:00", 
    "ProcessId": 3888, 
    "MachineName": "NAME_CHANGED" 
    } 
} 

IIS 로그 : 어떤 도움을 주시면 감사하겠습니다

2016-10-04 13:04:42 ::1 GET /identity/.well-known/openid-configuration - 80 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/51.0.2704.79+Safari/537.36+Edge/14.14393 - 404 0 2 0 

. 덧붙여 말하면, 이것은 새로운 기계이기 때문에 IIS를 처음부터 설치했기 때문에 항상 문제가 끝나지 않습니다.

답변

0

해결책은 응용 프로그램이 아니라 웹 사이트 루트 (본인의 경우 기본 웹 사이트)에 Identity Server 3를 배포하는 것이 었습니다.

관련 문제