Good Day, We are getting "Init SSL without certificate database? in response to all requests. The NUT software is installed on Ubuntu Server 22.04 LTS. All the documentation that we have found that references this error have some sort of hack. Why doesn?t the package support a published path or environment variable where a user can point to a functional certificate database? pi at cyva:~ $ upsc -l cyva Init SSL without certificate database ups pi at cyva:~ $ upsc -L cyva Init SSL without certificate database ups: Description unavailable pi at cyva:~ $ upsc ups at cyva Init SSL without certificate database battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 20 battery.mfr.date: CPS battery.runtime: 4200 battery.runtime.low: 300 battery.type: PbAcid battery.voltage: 25.6 battery.voltage.nominal: 24 device.mfr: CPS device.model: CST135UC device.serial: CYALW7002313 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 5 driver.parameter.port: auto driver.parameter.synchronous: no driver.version: DSM7-1-1-42930-workplus-version2-repack-42930-220712 driver.version.data: CyberPower HID 0.4 driver.version.internal: 0.41 input.voltage: 120.0 input.voltage.nominal: 120 output.voltage: 120.0 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 12 ups.mfr: CPS ups.model: CST135UC ups.productid: 0601 ups.realpower.nominal: 810 ups.serial: CYALW7002313 ups.status: OL ups.test.result: No test initiated ups.timer.shutdown: -60 ups.timer.start: -60 ups.vendorid: 0764 pi at cyva:~ $ https://askubuntu.com/questions/1401545/network-ups-tools-nut-ubuntu-20-04-init-ssl-without-certificate-database-e? Network UPS Tools (NUT) - Ubuntu 20.04 - Init SSL without certificate database Error: Data stale askubuntu.com https://askubuntu.com/questions/468632/nut-ups-and-ssl-certificates? nut (UPS) and SSL certificates askubuntu.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20230128/e834979d/attachment-0001.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: apple-touch-icon at 2.png Type: image/png Size: 6157 bytes Desc: not available URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20230128/e834979d/attachment-0002.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: apple-touch-icon at 2.png Type: image/png Size: 6157 bytes Desc: not available URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20230128/e834979d/attachment-0003.png>
On Sat, 28 Jan 2023, John Fowler wrote:> We are getting "Init SSL without certificate database? in response to all requests. > > pi at cyva:~ $ upsc ups at cyva > Init SSL without certificate database > battery.charge: 100If you don't like the warning, then a command such as upsc ups at cyva 2>/dev/null will hide it. Otherwise the simplest, and possibly the safest, solution is to create local self-signed certificates. For instructions see chapter 10 of https://rogerprice.org/NUT/ConfigExamples.A5.pdf . The required mkNUTcert.py utility program is available at https://rogerprice.org/NUT/mkNUTcert.py Roger