Fix for "Certificate has expired" error with Joplin Cloud and self-hosted sync targets