<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Calibri Light";
        panose-1:2 15 3 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.gmail-m2004726199105966151error
        {mso-style-name:gmail-m_2004726199105966151error;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Fabio,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Check the config for tomcat (catalina.sh or setenv.sh), if it is correctly pointing to the midPoint keystore path.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Have you used the option -trustcacerts when adding the certificate to ensure to trust it.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You can also try by adding the root CA certificate instead.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri Light","sans-serif";color:blue;background:white">Esteban Jeria</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue;background:white"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue;background:white"><a href="mailto:esteban.jeria@cgi.com"><span lang="EN-US" style="font-family:"Calibri Light","sans-serif"">esteban.jeria@cgi.com</span></a></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue;background:white"><br>
</span><span lang="EN-US" style="font-size:9.5pt;font-family:"Calibri Light","sans-serif";color:black;background:white">Conseil</span><span lang="FR" style="font-size:9.5pt;font-family:"Calibri Light","sans-serif";color:black;background:white">ler
</span><b><span lang="FR" style="font-size:9.5pt;font-family:"Calibri Light","sans-serif";color:red;background:white">CGI</span></b><span lang="FR" style="font-size:9.5pt;font-family:"Calibri Light","sans-serif";color:black;background:white"> / </span><b><span lang="FR" style="font-size:9.5pt;font-family:"Calibri Light","sans-serif";color:red;background:white">CGI</span></b><span lang="FR" style="font-size:9.5pt;font-family:"Calibri Light","sans-serif";color:black;background:white">
 Consultant</span><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue;background:white"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:9.5pt;font-family:"Calibri Light","sans-serif";color:black;background:white">Sécurité - Gestion des Identités et des Accès / Security - Identity and Access Management<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:9.5pt;font-family:"Calibri Light","sans-serif";color:black;background:white">514-415-3000 ext.1018296</span><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue;background:white"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Fabio Medeiro [mailto:fabio.medeiro@worldnettps.com]
<br>
<b>Sent:</b> Wednesday, June 20, 2018 4:22 AM<br>
<b>To:</b> midpoint@lists.evolveum.com<br>
<b>Subject:</b> [midPoint] Erro Office365 Connector<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;border-collapse:collapse">
<tbody>
<tr>
<td style="padding:0cm 0cm 7.5pt 0cm">
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;line-height:15.0pt">
<span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">I was using office365 connector on midpoint 3.7, when last week it stopped working and starting show error bellow.<br>
2018-06-19 16:47:17,726 [] <span class="gmail-m2004726199105966151error">[http-nio-8080-exec-10]</span> 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=9b7beed5-eda4-4802-a36a-fece9adeb888): org.identityconnectors.office365.Office365Connector v1.2.0.0-SNAPSHOT<br>
2018-06-19 16:47:18,499 [] <span class="gmail-m2004726199105966151error">[http-nio-8080-exec-10]</span> 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<br>
2018-06-19 16:47:18,529 [] <span class="gmail-m2004726199105966151error">[http-nio-8080-exec-10]</span> 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<br>
2018-06-19 16:47:18,548 [] <span class="gmail-m2004726199105966151error">[http-nio-8080-exec-10]</span> 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<br>
2018-06-19 16:47:18,569 [] <span class="gmail-m2004726199105966151error">[http-nio-8080-exec-10]</span> 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<br>
2018-06-19 16:47:18,995 [] <span class="gmail-m2004726199105966151error">[http-nio-8080-exec-10]</span> ERROR (org.identityconnectors.office365.Office365Connection): method: <span class="gmail-m2004726199105966151error">[null, IOE Error doing getRequest to
 path /tenantDetails?api-version=2013-11-08]</span> msg:{}<br>
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<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;line-height:15.0pt">
<span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">I have upgrade midpoint 3.7.1, 3.7.2, 3.8 .The cert is installed on midpoint and on java truestore and I am still getting some error. <br>
Does anyone have idea what it can be?<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p><span lang="EN-GB" style="font-size:10.0pt">Kind Regards</span><span style="font-size:9.5pt"><o:p></o:p></span></p>
<p><span lang="EN-GB" style="font-size:10.0pt">Fabio Medeiro</span><span style="font-size:9.5pt"><o:p></o:p></span></p>
<p><span lang="EN-GB" style="font-size:10.0pt"> </span><span style="font-size:9.5pt">IT Helpdesk<o:p></o:p></span></p>
<p><span style="font-size:9.5pt"><img border="0" width="200" height="34" id="_x0000_i1025" src="cid:image001.png@01D4088D.15CFAE10" alt="/Users/dmcsharry/Library/Containers/com.microsoft.Outlook/Data/Library/Caches/Signatures/signature_464034326"><o:p></o:p></span></p>
<p><span lang="EN-GB" style="font-size:10.0pt">Hibernia House,</span><span style="font-size:9.5pt"><o:p></o:p></span></p>
<p><span lang="EN-GB" style="font-size:10.0pt">Cherrywood Business Park,</span><span style="font-size:9.5pt"><o:p></o:p></span></p>
<p><span lang="EN-GB" style="font-size:10.0pt">Loughlinstown, Co. Dublin D18 E440</span><span style="font-size:9.5pt"><o:p></o:p></span></p>
<p><span lang="EN-GB" style="font-size:10.0pt">Office: <a href="tel:+353%201%20531%200901" target="_blank"><span style="color:#1155CC">+353 (1) 531 0901</span></a></span><span style="font-size:9.5pt"><o:p></o:p></span></p>
<p><span lang="EN-GB" style="font-size:10.0pt">Website: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.worldnettps.com_&d=DwMFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=3iM986yl1CVC_rjHiE-INe9tiSAFCd7Ih6_50tgvu0w&m=JzNjQ4xA7QDXexG84xwhTMGamLesXbyrV0ZkoyX5M2k&s=kevpytUPTyrDLKHhbsMnPaknp8E-XB31OPnGKK4KSAo&e=" target="_blank"><span style="color:#0563C1">www.worldnettps.com</span></a>  </span><span style="font-size:9.5pt"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>