[midPoint] Error Office 365/ Azure connector

Fabio Medeiro fabio.medeiro at worldnettps.com
Mon Oct 22 16:52:25 CEST 2018


Hi Nicolas,

Thanks for your reply.

I have already add it on keystore.jceks of midpoint
(/opt/midpoint-3.7.2/var) and cacerts of
java(/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security), but it does work

On Mon, 22 Oct 2018 at 13:39, Nicolas Rossi <nrossi at identicum.com> wrote:

> It seems that you have to import the CA certificate to the midPoint
> keystore:
>
> javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
> unable to find valid certification path to requested target
>
> It's the same error you have reported on June
> <http://lists.evolveum.com/pipermail/midpoint/2018-June/004738.html> with
> the Office365.
>
> Regards,
>
>
> Ing Nicolás Rossi
> Identicum S.A.
> Jorge Newbery 3226
> Oficina: +54 (11) 4552-3050
> Móvil: +54 (911) 6041-3920
> www.identicum.com
>
>
> On Mon, Oct 22, 2018 at 9:18 AM Fabio Medeiro <
> fabio.medeiro at worldnettps.com> wrote:
>
>> Hi all,
>>
>> I have been trying use office connector on midpoint, but I always get the
>> same error message bellow. I have already imported the certificate.
>>
>> 2018-10-22 13:06:55,316 [] [http-nio-8080-exec-9] INFO
>> (com.evolveum.midpoint.provisioning.impl.ConnectorManager): Created new
>> connector instance for
>> ConnectorSpec(resource:fdb1aac3-b520-4773-948f-6835a9232478(Office 365
>> Connector), name=null, oid=8c78406d-f7fb-431e-8522-3909e0556c68):
>> org.identityconnectors.office365.Office365Connector v1.2.0.0-SNAPSHOT
>> 2018-10-22 13:06:56,139 [] [http-nio-8080-exec-9] ERROR
>> (org.identityconnectors.office365.Office365Connection): method: null
>> msg:Error creating token, error javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>> 2018-10-22 13:06:56,459 [] [http-nio-8080-exec-9] ERROR
>> (org.identityconnectors.office365.Office365Connection): method: null
>> msg:Error creating token, error javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>> 2018-10-22 13:06:56,776 [] [http-nio-8080-exec-9] ERROR
>> (org.identityconnectors.office365.Office365Connection): method: null
>> msg:Error creating token, error javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>> 2018-10-22 13:06:57,081 [] [http-nio-8080-exec-9] ERROR
>> (org.identityconnectors.office365.Office365Connection): method: null
>> msg:Error creating token, error javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>> 2018-10-22 13:06:57,564 [] [http-nio-8080-exec-9] ERROR
>> (org.identityconnectors.office365.Office365Connection): method: [null, IOE
>> Error doing getRequest to path /tenantDetails?api-version=2013-11-08] msg:{}
>> javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>>
>> Has anyone got this error???
>> Thanks
>> --
>>
>> Kind Regards
>>
>> Fabio Medeiro
>>
>>  IT Helpdesk
>>
>> [image:
>> /Users/dmcsharry/Library/Containers/com.microsoft.Outlook/Data/Library/Caches/Signatures/signature_464034326]
>>
>> Hibernia House,
>>
>> Cherrywood Business Park,
>>
>> Loughlinstown, Co. Dublin D18 E440
>>
>> Office: +353 (1) 531 0901 <+353%201%20531%200901>
>>
>> Website: www.worldnettps.com
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>


-- 

Kind Regards

Fabio Medeiro

 IT Helpdesk

[image:
/Users/dmcsharry/Library/Containers/com.microsoft.Outlook/Data/Library/Caches/Signatures/signature_464034326]

Hibernia House,

Cherrywood Business Park,

Loughlinstown, Co. Dublin D18 E440

Office: +353 (1) 531 0901 <+353%201%20531%200901>

Website: www.worldnettps.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20181022/a85ec415/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4007 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20181022/a85ec415/attachment.png>


More information about the midPoint mailing list