The only issue with the UI is I’m on VPN so uploading from my local machine would be
extremely slow. I discovered the –insecure flag for the cli and that seems to have
worked.
Thanks
Shawnk
From: Nir Soffer <nsoffer(a)redhat.com>
Sent: Saturday, November 17, 2018 8:43 AM
To: Shawn Weeks <sweeks(a)weeksconsulting.us>
Cc: users <users(a)ovirt.org>; Daniel Erez <derez(a)redhat.com>
Subject: Re: [ovirt-users] Engine ISO Uploader - SSL Peer Not Trusted
On Sat, Nov 17, 2018, 02:45 Shawn Weeks
<sweeks@weeksconsulting.us<mailto:sweeks@weeksconsulting.us> wrote:
Trying to upload an iso using engine-iso-uploader on a hosted-engine instance and I’m
getting an SSL Error. I followed the directions at
https://www.ovirt.org/documentation/admin-guide/appe-oVirt_and_SSL/ to setup SSL and am
able to login to the Admin console without an issue. Also checked that things like curl
recognize the CA correctly. Not sure where engine-iso-uploader is getting it’s trust
store.
[root@cloud ~]# engine-iso-uploader list
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to
abort):
ERROR: Unable to connect to REST API at
https://cloud.dev.example.com:443/ovirt-engine/api
due to SDK error
Message: Error while sending HTTP request: (60, "Peer's certificate issuer has
been marked as not trusted by the user.")
What am I missing?
If you ate using 4.2, you can upload iso files to data domains. You can upload directly
from the UI:
1. Open storage > disks
2. Click Upload > Start
3. Select file and fill in the form
For faster upload or automation, you can use the SDK. See this example code:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload...
With some configuration changes you can use this as command line tool for uploading iso or
other images.
Nir