Now, I know that there are other threads on this but none of them solved my problem.
I have just reinstated SSL certificates which I get on hassio from the DuckDNS add-on but I don’t use DuckDNS for anything else at the moment as I am not open to the Internet.
Google TTS has stopped working. Does anyone know how I can make it work again with SSL?
I have the following:
tts:
- platform: google
language: 'en-uk'
http:
base_url: !secret base_url
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
In my secrets I have
base_url: https://192.168.1.25:8123
But I get the following errors when using Google TTS
Log Details (ERROR)
Sun Nov 18 2018 13:00:15 GMT+0000 (Greenwich Mean Time)
Error doing job: SSL handshake failed
Traceback (most recent call last):
File "uvloop/handles/stream.pyx", line 609, in uvloop.loop.UVStream._on_eof
File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:841)
and
Log Details (ERROR)
Sun Nov 18 2018 13:00:14 GMT+0000 (Greenwich Mean Time)
Error doing job: SSL error errno:1 reason: SSLV3_ALERT_BAD_CERTIFICATE
Traceback (most recent call last):
File "uvloop/sslproto.pyx", line 504, in uvloop.loop.SSLProtocol.data_received
File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:841)