[Nut-upsuser] upsmon Can not initialize SSL context (letsencrypt) #563

Roger Price roger at rogerprice.org
Mon Jun 25 15:54:00 BST 2018


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



More information about the Nut-upsuser mailing list