Hello all.

Thx for the log-tip.


It was a access right violation on /etc.../letsencrypt/....cert . The folder 
was own by root:root

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


Now, running upsc -l

Init SSL without certificate database
850PRO

Witch is better. But still problématic wuth the init ssl database warning.


________________________________
De : Nut-upsuser <[email protected]> de 
la part de Roger Price <[email protected]>
Envoyé : lundi 25 juin 2018 16:54
À : nut-upsuser Mailing List
Objet : Re: [Nut-upsuser] upsmon Can not initialize SSL context (letsencrypt) 
#563

On Tue, 19 Jun 2018, tech wrote:

> Jun 19 16:34:55 REDACTED upsmon[7389]: Can not initialize SSL context

> I am lost. Comments and Help welcome.

It's only a comment, but, this message comes from NUT program netssl.c

                 status = NSS_NoDB_Init(NULL);
         if (status != SECSuccess) {
                 upslogx(LOG_ERR, "Can not initialize SSL context");
                 nss_error("upscli_init / NSS_[NoDB]_Init");
                 return;
         }

which does not call PR_GetError to retrieve the error code when NSS_NoDB_Init
fails.  To find out more, you could add the PR_GetError call, complete the error
message, recompile, re-install and try again.

Roger

_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to