The most common cause is you have an offline device in the network. If even one device is offline, the https test fails and prevents you from upgrading.
If this is your case, you can temporarily remove the device, wait about 4 hours, and then you'll be able to do the upgrade.