I installed El Capitan into a virtual machine. Initially I installed it with a local account because I didn't have a connection. So now I want to download things from the App Store or install an OS update.
When I try to login to the app store, it just sits there at the login dialog forever.
When I try to install an OS software update, it said that the computer could not be verified and then asked me to try again.
When I try to login to iCloud from the System Preferences/iCloud app, it says "You cannot sign in to iCloud because there was a problem verifying the identity of this Mac."
What should I do to make these issues go away?