Google tts with SSL and Squeezebox or Volumio media player

I’m not able to play anything via Google tts with a Squeezebox or a Volumio media player.

Here my code from configuration.yaml

http:
  api_password: PWD
  ssl_certificate: /etc/letsencrypt/live/URL.duckdns.org/fullchain.pem
  ssl_key: /etc/letsencrypt/live/URL.duckdns.org/privkey.pem
  base_url: URL.duckdns.org
  trusted_networks: 
    - 192.168.178.0/24 
    - 127.0.0.1
    - ::1

(…)

media_player:
- platform: squeezebox
  host: 192.168.178.250
  port: 9001
- platform: volumio 
  host: 192.168.178.41 
  port: 3000 

I try to play tts via the frontend. The MP3-files are build correctly and located in

/home/homeassistant/.homeassistant/tts/

I can play them via https://URL.duckdns.org/api/tts_proxy/SOMENUMBERS_google.mp3

Is the configuration correct? Which type of media players are able to play tts?

Any idea or suggestion? Thanks in advance! I’m running 0.42.3.

got same problems… this is a mismatch of the certs between your hass instanz and the volumio

I have the same issue here. TTS-files play from my browser, but not in Volumio.
It’s clear that it has something to do with CURL and certificates…:dizzy_face:

I’ve asked a question at the Volumio forum:
https://volumio.org/forum/certificate-verification-failed-t7794.html

I solved this issue, here are the steps you must follow:

SSH into your Volumio server

Type:
openssl s_client -connect xxxxx.com:443 |tee logfile

Copy the server certificate. (From ‘-----BEGIN CERTIFICATE-----’ to ‘-----END CERTIFICATE-----’).

Type quit and press enter. Then go to the directory in which the certificates are stored:
cd /etc/ssl/certs

Open the certificates store:
sudo nano ca-certificates.crt

Paste the certificate at the bottom of the file. Save the file, and see if it worked. It did for me :slight_smile:!

My setup also doesn’t work, even though I’m not even using any kind of encryption yet.
NEwest Version of both HA and Volumio. What else could be the problem? Playing back the generated files inside the browser is no problem at all.

Would be great if someone could help me out!

Thanks a lot :smiley:

I have the same problem…:persevere:. I’ve created an issue here: https://github.com/home-assistant/home-assistant/issues/9992.