<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hello all.</p>
<p><br>
</p>
<p>Thx for the log-tip. </p>
<p><br>
</p>
<p>It was a access right violation on /etc.../letsencrypt/....cert . The folder was own by root:root  </p>
<p>Had to create a group nutusers including root and my nut users. After that, had to change the chmod for the folder from 755 to 775</p>
<p><br>
</p>
<p>Now, running upsc -l</p>
<p></p>
<div>Init SSL without certificate database</div>
<div>850PRO</div>
<div><br>
</div>
Witch is better. But still problématic wuth the init ssl database warning.
<p></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De :</b> Nut-upsuser <nut-upsuser-bounces+tech=rkn.ovh@alioth-lists.debian.net> de la part de Roger Price <roger@rogerprice.org><br>
<b>Envoyé :</b> lundi 25 juin 2018 16:54<br>
<b>À :</b> nut-upsuser Mailing List<br>
<b>Objet :</b> Re: [Nut-upsuser] upsmon Can not initialize SSL context (letsencrypt) #563</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On Tue, 19 Jun 2018, tech wrote:<br>
<br>
> Jun 19 16:34:55 REDACTED upsmon[7389]: Can not initialize SSL context<br>
<br>
> I am lost. Comments and Help welcome.<br>
<br>
It's only a comment, but, this message comes from NUT program netssl.c<br>
<br>
                 status = NSS_NoDB_Init(NULL);<br>
         if (status != SECSuccess) {<br>
                 upslogx(LOG_ERR, "Can not initialize SSL context");<br>
                 nss_error("upscli_init / NSS_[NoDB]_Init");<br>
                 return;<br>
         }<br>
<br>
which does not call PR_GetError to retrieve the error code when NSS_NoDB_Init <br>
fails.  To find out more, you could add the PR_GetError call, complete the error <br>
message, recompile, re-install and try again.<br>
<br>
Roger<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
Nut-upsuser@alioth-lists.debian.net<br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" id="LPlnk199974" previewremoved="true">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a></div>
</span></font></div>
</div>
</body>
</html>