Cast ONVIF camera with SSL activated

Hello. I have automation casting a door camera to Chromecast when there is movement in front of the door. This works great until I activate the SSL in the configuration.yaml. Any Ideas Why?
I use this in the config:
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem