성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] systemd for Developers I ; https:/...
[정성태] 엄밀히 object 타입의 인스턴스가 다른 타입으로 형변환 가능...
[정성태] 아래의 글에서 나오는 "Windows Application Pa...
[정성태] The history of calling conventions,...
[정성태] Secure and Deploy .NET Windows Form...
[정성태] Get Started with Milvus Vector DB i...
[정성태] cyberark/PipeViewer - A tool that...
[정성태] WinForms in a 64-Bit world – our st...
[정성태] 예제에서 SELECT_SQL도 내부적으로는 SqlCommand/...
[victor] SELECT_LINQ SELECT_SQL 같은 쿼리인...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
제니퍼 .NET
닷넷
COM 개체 관련
스크립트
VC++
VS.NET IDE
Windows
Team Foundation Server
디버깅 기술
오류 유형
개발 환경 구성
웹
기타
Linux
Java
DDK
Math
Phone
Graphics
사물인터넷
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>Automatic certificate enrollment for local system failed (0x800706ba) The RPC server is unavailable.</h1> <p> 기존 DC(testad1)가 있는 Active Directory에 새롭게 DC(testad2)를 추가했는데, 인증서 관련 오류가 이벤트 로그에 남습니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Log Name: Application Source: Microsoft-Windows-CertificateServicesClient-AutoEnrollment Date: 2020-03-08 오후 3:20:28 Event ID: 6 Task Category: None Level: Error Keywords: Classic User: N/A Computer: testad2.testad.com Description: <span style='color: blue; font-weight: bold'>Automatic certificate enrollment for local system failed (0x800706ba) The RPC server is unavailable.</span> </pre> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Log Name: Application Source: Microsoft-Windows-CertificateServicesClient-CertEnroll Date: 2020-03-08 오후 3:20:28 Event ID: 13 Task Category: None Level: Error Keywords: Classic <span style='color: blue; font-weight: bold'>User: SYSTEM</span> Computer: testad2.testad.com Description: Certificate enrollment for Local system failed to enroll for a DomainController certificate with request ID N/A from <span style='color: blue; font-weight: bold'>TESTAD1.testad.com\testad-TESTAD1-CA</span> (The RPC server is unavailable. 0x800706ba (WIN32: 1722 RPC_S_SERVER_UNAVAILABLE)). </pre> <br /> 그러니까, 신규 DC에서 기존 DC에 설치된 CA 서비스를 이용하지 못하고 있는 것입니다. 관련해서 검색해 보면, 이 과정을 명령행으로 테스트할 수 있는 방법이 나옵니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > C:\temp> <span style='color: blue; font-weight: bold'>certutil -Ping -Config TESTAD1.testad.com\testad-TESTAD1-CA</span> Connecting to TESTAD1.testad.com\testad-TESTAD1-CA ... Server "testad-TESTAD1-CA" ICertRequest2 interface is alive (31ms) CertUtil: -ping command completed successfully. </pre> <br /> 아니.. 그런데 보는 바와 같이 잘 됩니다. ^^; 하지만, 이벤트 로그의 항목을 보면 "User: SYSTEM"이라고 되어 있는데, 혹시나 싶어 <a target='tab' href='https://www.sysnet.pe.kr/2/1/1153'>Local SYSTEM 계정으로 위의 명령어를 실행</a>해 봤더니,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > C:\WINDOWS\system32> <span style='color: blue; font-weight: bold'>c:\tools\psexec.exe -i -accepteula -s cmd.exe</span> PsExec v2.2 - Execute processes remotely Copyright (C) 2001-2016 Mark Russinovich Sysinternals - www.sysinternals.com C:\WINDOWS\system32> <span style='color: blue; font-weight: bold'>certutil -Ping -Config TESTAD1.testad.com\testad-TESTAD1-CA</span> Connecting to TESTAD1.testad.com\testad-TESTAD1-CA ... Server could not be reached: The RPC server is unavailable. 0x800706ba (WIN32: 1722 RPC_S_SERVER_UNAVAILABLE) -- (15ms) CertUtil: -ping command FAILED: 0x800706ba (WIN32: 1722 RPC_S_SERVER_UNAVAILABLE) CertUtil: The RPC server is unavailable. </pre> <br /> 정말 오류가 발생했습니다. 다행히 이에 관해 검색해 보면 답이 나옵니다. ^^<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > The RPC server is unavailable 0x800706BA ; <a target='tab' href='https://theitbros.com/the-rpc-server-is-unavailable-0x800706ba/'>https://theitbros.com/the-rpc-server-is-unavailable-0x800706ba/</a> </pre> <br /> <img alt='cert_rpc_800706ba_1.png' src='/SysWebRes/bbs/cert_rpc_800706ba_1.png' /><br /> <br /> 그러니까, Active Directory에 있는 "Certificate Service DCOM Access" 그룹에 위의 오류가 발생한 컴퓨터를 등록해 주면 되는 것입니다. (위의 이미지에서는 아예 "Domain Computers" 전체를 추가했습니다.)<br /> <br /> 이후 보안 관련 변경 사항이 있음을 CA 서버에 알리고,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > c:\temp> <span style='color: blue; font-weight: bold'>certutil -setreg SetupStatus -SETUP_DCOM_SECURITY_UPDATED_FLAG</span> </pre> <br /> "Active Directory Certificate Services(certsvc)" 서비스를 재시작하면, <br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > net stop certsvc & net start certsvc </pre> <br /> 문제가 발생했던 서버에서 더 이상 "0x800706ba" 오류가 남지 않는 것을 확인할 수 있습니다.<br /> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
7332
(왼쪽의 숫자를 입력해야 합니다.)