<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Try deleting the "localhost" cert from your keychain (using /Applications/Utilities/Keychain). I've seen this problem a few times but am still not sure exactly how it happens - possibly CalendarServer has lost access privs to a keychain item that was previously stashed there. Deleting will allow new items to be created.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Alternatively, you can delete the .develop directory then "export USE_OPENSSL=1" and re-run bin/develop to disable use of SecureTransport, which includes disabling the use of keychain to store the server's private key.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">-dre<br></div><div><br>On Feb 16, 2017, at 3:30 PM, Emmanuel Bourreau &lt;<a href="mailto:ebourreau@nordnet.fr">ebourreau@nordnet.fr</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=utf-8">Hello,<div class="">during the bin/develop, i have the following error</div><div class=""><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(185, 253, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Keychain init.</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(185, 253, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Could not find identity 'org.calendarserver.test'</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(185, 253, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Found certificate 'localhost'</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(185, 253, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Traceback (most recent call last):</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(185, 253, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; File "bin/keychain_init.py", line 164, in &lt;module&gt;</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(185, 253, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; identityCreate()</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(185, 253, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; File "bin/keychain_init.py", line 67, in identityCreate</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(185, 253, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; raise RuntimeError(error if error else output)</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(185, 253, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">RuntimeError: security: No matching identity found for "localhost"</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Next, if i try a « bin/run -n&nbsp;»&nbsp;</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">i obtain</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(185, 253, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">The configured TLS Keychain Identity (Keychain: org.calendarserver.test) cannot be used: Unable to load Keychain identity: org.calendarserver.test</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">System : 10.11.6</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Calendarserver 9.1&nbsp;</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Can you help me ?</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Thanks</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Emmanuel</span></div></span></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>calendarserver-users mailing list</span><br><span><a href="mailto:calendarserver-users@lists.macosforge.org">calendarserver-users@lists.macosforge.org</a></span><br><span><a href="https://lists.macosforge.org/mailman/listinfo/calendarserver-users">https://lists.macosforge.org/mailman/listinfo/calendarserver-users</a></span><br></div></blockquote></body></html>