ArturSierzant / OMPD

O!MPD is free, opensource MPD client based on PHP and mySQL.
http://ompd.pl
GNU General Public License v3.0
40 stars 13 forks source link

Help needed with SSL self signed certificate #141

Closed paradix closed 3 years ago

paradix commented 3 years ago

I just put OMPD behind nginx and redirect all requests to https and port 443. The UI and PHP works just fine, I only seem to have problems with playing music over mpd

In the mpd.log I get the following entries:

Jun 18 14:51 : exception: Failed to decode https://kodi/ompd/stream.php?action=streamTo&stream_id=-1&track_id=ghqixylpyt_fb7be62c&ext=.flac; CURL failed: SSL certificate problem: self signed certificate
Jun 18 14:51 : player: played "https://kodi/ompd/stream.php?action=streamTo&stream_id=-1&track_id=ghqixylpyt_fb7be62c&ext=.flac"

Any ideas how to solve that?

paradix commented 3 years ago

Seems like this can be setup in mpd.conf in the curl input plugin https://mpd.readthedocs.io/en/stable/plugins.html#id6