다음은 Anypoint Exchange, Design Center, Studio, 커넥터, Munit, 런타임 업데이트에 연결하거나 Cloudhub에 응용 프로그램을 배포할 때 Anypoint Studio에 기록되는 두 가지 SSLHandshakeException 오류 유형입니다.
javax.net.ssl.SSLHandshakeException: org.eclipse.ecf.internal.ssl.ECFCertificateException: 유효한 인증서 체인이지만 신뢰할 수 있는 인증서가 없습니다.
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: 요청된 대상에 유효한 인증서 경로를 찾을 수 없습니다
UI에 일반적인 액세스할 수 없음, 다운로드할 수 없음 또는 액세스 거부 오류가 표시될 수 있습니다. 인증서 오류는 Anypoint Studio에서 수집됩니다. Anypoint Studio를 보는 방법에 대한 자세한 내용은 Studio 오류 로그 검색 방법을 참조하십시오.
참고: VPN을 사용하는 동안에만 오류가 발생할 경우 다음 단계를 모두 완료하기 전에 VPN에 연결되어 있는지 확인하십시오.
방법:
폴더를 만들어 컴퓨터에 인증서를 다운로드/저장
브라우저를 열고 https://anypoint.mulesoft.com/login(및/또는 액세스하면 오류가 표시되는 기타 모든 URL, 예: studio.mulesoft.org 또는 download.eclipse.org)으로 이동합니다.
Windows: 세부 사항을 클릭한 다음, 파일에 복사합니다. 인증서 내보내기 마법사를 사용하여 모든 인증서를 새 폴더에 다운로드합니다.
인증서가 저장된 폴더의 경로를 복사하여 텍스트 편집기에 붙여 넣습니다.
Mac: Mac에서 경로를 복사하고 검색기를 열고 제어를 마우스 오른쪽 버튼으로 클릭하거나 선택한 다음, 경로가 필오한 폴더 또는 파일을 클릭하고 OPTION 키를 길게 누르면 "경로 이름으로 복사" 옵션이 표시됩니다.
Windows: Windows에 경로를 복사하고 검색기를 열어 경로가 필요한 폴더 또는 파일로 이동한 다음, 위치가 표시되는 검색기 상단의 영역을 클릭하면 경로를 복사할 수 있어야 합니다.
텍스트 편집기에서 다음 명령을 복사/붙여 넣습니다.
인증서당 하나의 keytool 명령을 만들어야 합니다. 예를 들어 위의 예 이미지에서 Amazon용 및 Amazon CA Root 1용과 같은 두 개의 keytool 명령이 필요합니다. keytool 명령 수는 보유한 인증서 수(일반적으로 2개 또는 3개)에 따라 다릅니다.
팁: 인증서가 3개일 경우 아래의 keytool 명령 예를 새 행으로 텍스트 편집기에 네 번 복사하고 붙여 넣습니다. 그러면 행 하나는 예로 유지하고 각 인증서에 대해 다른 행을 편집할 수 있습니다. 다음은 예입니다:
Mac: keytool -importcert -file pathToFolder/ -keystore JDKpath/Contents/Home/lib/security/cacerts -alias ""
Windows: keytool -importcert -file C:\Users\TestUser\Downloads\Mulesoft_Certificates\Zscaler_Root_CA.crt -keystore C:\Users\TestUser\Downloads\AnypointStudio718\plugins\org.mule.tooling.jdk.win32.x86_64_1.3.1\lib\security\cacerts -alias "Zscaler_Root_CA"
폴더에 경로를 삽입합니다(pathToFolder). 인증서 이름을 추가합니다().
Mac: keytool -importcert -file /Users/myName/cert/amazon.cer -keystore JDKpath/Contents/Home/lib/security/cacerts -alias "amazon.cer"
Windows: keytool -importcert -file /Users/myName/cert/amazon.cer -keystore JDKpath\lib\security\cacerts -alias "amazon.cer"
Anypoint Studio.ini 파일을 엽니다. 이 파일을 여는 방법에 대한 자세한 내용은 AnypointStudio ini 파일을 찾는 방법을 참조하십시오.
Studio가 설치된 폴더로 이동한 다음, 플러그인으로 이동하고 .ini 파일에 나열된 JDK 폴더를 찾습니다. "org.mule.tooling.jdk"로 시작하는 폴더입니다. 예 스크린샷에서는 "org.mule.tooling.jdk.macosx.x86_64_1.1.1"이 JDK 폴더입니다.
Windows: 다음과 같이 표시됩니다:
.ini 파일 및 텍스트 편집기에 나열된 JDK에 경로를 복사하고 JDKpath를 복사한 경로로 변경합니다. 다음은 완료된 명령의 레이아웃입니다.
Mac: keytool -importcert -file /Users/myName/cert/Amazon.cer -keystore /Applications/AnypointStudio710.app/Contents/Eclipse/plugins/org.mule.tooling.jdk.macosx.x86_64_1.1.1/Contents/Home/lib/security/cacerts -alias "Amazon.cer"
Windows: keytool -importcert -file /Users/myName/cert/amazon.cer -keystore /Applications/AnypointStudio710.app/Contents/Eclipse/plugins/org.mule.tooling.jdk.win32.x86_64_1.1.1\lib\security\cacerts -alias "amazon.cer"
다운로드한 모든 인증서에 대해 명령을 복제합니다. 각 인증서에 대한 고유한 행이 있는지 확인합니다. 예를 들어 Mac을 사용 중이며 인증서 3개와 "cert" 폴더가 있을 경우 다음과 같은 고유한 명령 3개가 있어야 합니다. 다음과 같이 "cacerts"이 포함되어 있는지 확인하십시오:
keytool -importcert -file /Users/myName/cert/certificate_1.cer -keystore /Applications/AnypointStudio710.app/Contents/Eclipse/plugins/org.mule.tooling.jdk.macosx.x86_64_1.1.1/Contents/Home/lib/security/cacerts -alias "certificate_1.cer"
keytool -importcert -file /Users/myName/cert/certificate_2.cer -keystore /Applications/AnypointStudio710.app/Contents/Eclipse/plugins/org.mule.tooling.jdk.macosx.x86_64_1.1.1/Contents/Home/lib/security/cacerts -alias "certificate_2.cer"
keytool -importcert -file /Users/myName/cert/certificate_3.cer -keystore /Applications/AnypointStudio710.app/Contents/Eclipse/plugins/org.mule.tooling.jdk.macosx.x86_64_1.1.1/Contents/Home/lib/security/cacerts -alias "certificate_3.cer"
관리자로 Mac에서 터미널을 열거나 Windows에서 명령 프롬프트를 엽니다. 모든 디렉터리에 있을 수 있습니다. 이전 섹션에서 생성된 각 keytool 명령을 한 번에 하나씩 붙여 넣습니다.
암호를 "changeit"로 입력합니다. 암호는 공백이 없는 전체 소문자로 구성됩니다.
인증서를 신뢰하는지 물을 경우 "y"를 입력합니다.
명령을 실행한 후 Studio를 다시 시작합니다.
Windows에서 인증서 오류가 지속될 경우 인증서를 설치한 후에도 IT 팀에 문의하여 Studio URL을 화이트리스트로 지정하십시오. 자세한 내용은 Anypoint Studio를 실행하기 위해 IT 팀에서 화이트리스트로 지정해야 하는 UR은 무엇입니까?를 참조하십시오.
HTTPS 호출이 "SunCertPathBuilderException: 요청된 대상에 유효한 인증서 경로를 찾을 수 없습니다" 또는 "일반적인 SSLEngine 문제"와 함께 실패합니다
001122500

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.