2016-11-17 180 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

对不起,你是对的。谢谢。 –

相关问题