To accept the Chromecast certificate: 1. Get the certificate with gnutls-cli $ gnutls-cli --save-cert=chromecast.pem 192.168.1.14:8009
2. Start VLC with the --gnutls-dir-trust option$ vlc -vv --gnutls-dir-trust=/home/floris --sout="#chromecast{ip=192.168.1.14}" <video file>
3. A pop-up window appears with a "Insecure site" warning. Here you can accept the certificate.