Failed to validate the SSL certificate for download.nextcloud.com:443

I am not able to update either. Similar issue happened already: Ssl certificate expired of "https://download.nextcloud.com"
It looks like a better solution has not been implemented yet.