bpa wrote:
> I always feel it is better to try to find root cause as often the
> problem can recur.
>
> When you used SSL_VERIFY_MODE you used a number value and not a string.
> Strings were used in older versions of the module.
>
> ...
>
Thanks bpa, for convincing me to stick with this until I figured out
what was going on. After studying the TLS attempts LMS was making using
Wireshark, it was apparent that IO:Socket:SSL was simply not finding the
ca-certificates. DNS was working, but after that connecting to a server
would fail during the startup of TLS. I had ca-certificates properly
installed and updated. Openssl could find them so using openssl directly
worked fine, but a short PERL script calling IO::Socket::SSL would
fail.
Armed with the knowledge I gained using Wireshark, (an indispensable
debugging tool,) and a forum, I found a way around this problem. I
created a short script which I placed in /etc/profile.d, (running
Ubuntu):
Code:
--------------------
#!/bin/sh
export SSL_CERT_DIR=/etc/ssl/certs
--------------------
Scripts placed in /etc/profile.d are run at boot by root so in this way,
I could export the shell var SSL_CERT_DIR to all subsequent processes -
including LMS. This works; after rebooting, LMS and plugins began
working correctly again. PERL modules could now find where the
certificates are kept on Ubuntu: /etc/ssl/certs.
Why this became necessary I still do not understand and I don't know
what the normal mechanism is that PERL uses to find ca-certificates, but
this stopgap measure has taken care of my issue for the time being.
*Living Room:* SB Touch + DIY PSU > CI Audio VDA.2 DAC + VAC.1 PSU >
VRX.1 cables > Emotiva XSP-1 Gen 2 preamp + XPA-DR2 amp > Blue Jeans
cables > B&W 804 speakers
*Laptop:* System76 Galago + Ubuntu 16.04 + Squeezelite + Material Skin >
ifi USB iSilencer > Audirect Beam DAC > Senn IE 80 earbuds
*Bedroom:* Pixel 3a Phone + SB Player + Material/mobile > Bose SoundLink
Revolve
*Server:* Puget Systems Serenity + Ubuntu 18.04 + LMS 7.9.2
*Music:* Personal FLAC, Radio Paradise FLAC, Qobuz, Spotify
------------------------------------------------------------------------
Ron F.'s Profile: http://forums.slimdevices.com/member.php?userid=5616
View this thread: http://forums.slimdevices.com/showthread.php?t=111191
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter