Ref: https://github.com/harvester/harvester/issues/1260
Verify Items
- Image download with self-signed additional-ca
- VM backup with self-signed additional-ca
Case: Image downlaod
- Install Harvester with ipxe-example which includes https://github.com/harvester/ipxe-examples/pull/36
- Upload any valid iso to pxe-server’s
/var/www/
- Use Browser to access
https://<pxe-server-ip>/<iso-file>
should be valid - Add self-signed cert to Harvester
- Navigate to Harvester Advanced Settings, edit additional-ca
- cert content can be retrieved in pxe-server
/etc/ssl/certs/nginx-selfsigned.crt
- Create Image with the same URL
https://<pxe-server-ip>/<iso-file>
- Image should be downloaded
Case: VM backup
- Install Harvester with ipxe-example
- setup Minio in pxe-server
- follow instruction to download binary and start the service
- login to UI console then add region and create bucket
- follow instruction to generate self-signed cert with IP SANs
- restart service with self-signed cert
- Add self-signed cert to Harvester
- Add local Minio info as S3 into backup-target
- Backup-Target Should not pop up any Error Message
- Create Image for VM creation
- Create VM with any resource
- Perform VM backup
- VM’s data Should be backup into Minio’s folder