Displaying 6 results from an estimated 6 matches for "nss_error".
Did you mean:
gss_error
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
...ED 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
2012 Aug 10
1
NSS branch testing.
Hello all,
In order to prepare the merge of the NSS branch to the trunk, I have validated the code in this branch by passing this validation document written by Emilien Kia :
http://www.networkupstools.org/tmp/NUT-NSS_Mini_DVT_Plan-final.pdf
The testing has been done on rev 3685 of the ssl-nss-port branch.
As you can read, I have found no issue.
Let me know if you have any comments on this.
2018 Jul 10
0
NSS on Debian Stretch with libnss3: Can not initialize SSL context
...ccessful
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 managed to get NSS support to work with libnss3? How does one
specify the dbm: or sql: format?
Roger
_______________...
2018 Jun 27
2
upsmon Can not initialize SSL context (letsencrypt) #563
...> 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
_____...
2015 Feb 13
1
Error installing Nut 2.7.2 on RedHat 6.6
...ory
upsclient.c:47:23: error: pk11func.h: No such file or directory
upsclient.c:48:22: error: prtypes.h: No such file or directory
upsclient.c:50:28: error: private/pprio.h: No such file or directory
upsclient.c:184: error: expected ')' before '*' token
upsclient.c: In function 'nss_error':
upsclient.c:195: error: 'PRInt32' undeclared (first use in this function)
upsclient.c:195: error: (Each undeclared identifier is reported only once
upsclient.c:195: error: for each function it appears in.)
upsclient.c:195: error: expected ';' before 'length'
upsclient....