Unable to upload image via CLI with 'certificate or SSH remote key was not OK'
Applies to
- ONTAP 9
- ONTAP Select
- Web server / HTTP / HTTPS protocols
Issue
- SSL certificate error while try to access https server to download ONTAP or firmware images:
- One of the following errors may be seen:
Error: command failed: Failed to download package from https://.../ONTAPSELECT_991P18_UPGRADE.tgz. Error: SSL peer certificate or SSH remote key was not OK: SSL certificate problem: self signed certificate
SSL peer certificate or SSH remote key was not OK : SSL certificate problem: unable to get local issuer certificate
Cause
FTP and HTTP are the only supported methods for Automated Non-Disruptive Upgrade (ANDU) (i.e. through System Manager or cluster image update
command)