Citeren Arjen de Korte <[email protected]>:
I don't recall that we ever discussed the possibility of adding NSS support by using the 'nss_compat_ossl' OpenSSL compatibility layer. Just to be sure, I added this to see if this is a workable solution. On my (openSUSE) system this seems to build without problems.
Note that I intentionally wrote 'build without problems'. So far, I haven't been able to successfully run the upsd server with NSS instead of OpenSSL. Most likely this is due to not understanding how the certificate system works with NSS. At the moment, the SSL_init_library() call bombs out rather ungracefully with exit(1) (no error message logged). Most likely, the underlying NSS_Init(certDir) call fails. I guess I need to setup a certificate store (?) somehow. And we'll sure need to make this a more descriptive error message... :-)
Best regards, Arjen PS Steep learning curve ahead... :-) -- Please keep list traffic on the list (off-list replies will be rejected) _______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
