Displaying 5 results from an estimated 5 matches for "nss_nodb_init".
2018 Jun 19
2
upsmon Can not initialize SSL context (letsencrypt) #563
those mails list are from last century but i give it a try !
created : https://github.com/networkupstools/nut/issues/563
Hello all,
Trying to run an EATON 850pro via USB on a Debian Stretch Stable.
I have letsencrypt certificate installed and working.
When trying to manage the EATON device, i got:
upsmon Can not initialize SSL context
When 850pro is connected via USB, i can:
lsusb
Bus 009
2018 Jun 25
0
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 P...
2018 Jun 27
2
upsmon Can not initialize SSL context (letsencrypt) #563
...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_...
2018 Jul 10
0
NSS on Debian Stretch with libnss3: Can not initialize SSL context
...ups-Eaton
Jul 10 15:02:51 gold upsd[15961]: listening on 0.0.0.0 port 3493
Jul 10 15:02:51 gold upsd[15962]: Startup successful
Jul 10 15:02:51 gold upsd[15962]: Can not initialize SSL context
The error message comes from netssl.c
if (certfile)
status = NSS_Init(certfile);
else
status = NSS_NoDB_Init(NULL);
if (status != SECSuccess) {
upslogx(LOG_ERR, "Can not initialize SSL context");
nss_error("upscli_init / NSS_[NoDB]_Init");
return;
}
Since certfile is defined, it looks as if legacy NSS_Init is unable to access
the libnss3 NSS_db database.
Has anyone mana...
2015 Feb 13
1
Error installing Nut 2.7.2 on RedHat 6.6
...ror: 'nss_password_callback' undeclared (first use in
this function)
upsclient.c:350: error: 'status' undeclared (first use in this function)
upsclient.c:350: warning: implicit declaration of function 'NSS_Init'
upsclient.c:353: warning: implicit declaration of function 'NSS_NoDB_Init'
upsclient.c:355: error: 'SECSuccess' undeclared (first use in this function)
upsclient.c:361: warning: implicit declaration of function
'NSS_SetDomesticPolicy'
upsclient.c:368: warning: implicit declaration of function
'SSL_ClearSessionCache'
upsclient.c:370: warning: i...