The "unable to verify the first certificate" error often occurs when the user tries to sync whilst on a company network that uses their own certificates to intercept and monitor all users HTTPS traffic. Joplin does not contain that company certificate and so the sync fails.