2016-11-17 32 views
0

我正在從Oracle身份管理器與Office 365進行集成以進行許可證供應(主要目的)。當我到那裏的連接器試圖調用去REST服務令牌請求點時,出現以下錯誤:Azure圖API:無法在REST調用中找到請求的目標的有效證書路徑

SEVERE: org.identityconnectors.restcommon.ClientHandler : executeRequest : Error occurred while executing a POST REST call on the target. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

我已經下載從我的瀏覽器對本調用指定的URL證書路徑並將其導入到我的Java密鑰庫中,但仍然出現此錯誤。

有沒有人知道微軟方面是否需要特定的東西?

感謝您的幫助。

+2

請參閱:http://stackoverflow.com/questions/39608953/unable-to-connect-to-ldap-server-over-ssl-using-spring-template/39610306#39610306 – Roshith

+0

@MiguelÁngel你使用的是通用REST連接器? – varpekv

+0

@varpekv它是Office 365的官方連接器,但基本上是。這是所有內置的通用REST連接器 –

回答

1

原來,答案比我想象的要簡單。我錯過了將證書導入到Trust密鑰庫的部分(我只是將它們導入到cacerts jdk文件中)。我做到了,工作得很好。

謝謝大家。

+1

接受你的答案:) – Chaitanya

+0

對不起,你是對的。謝謝。 –

相關問題