[Android/FFmpeg] Peer certificate failed verification

I had a similar problem that I discovered was due to an expiring Comodo/Sectigo certificate. See this gist: