template download failedfrom AWS s3 bucket #9472
-
we upgraded the ACS to new version and live patched the system VM. Then we attempted to launch a template in Apache CloudStack using a link stored in an AWS S3 bucket. While the template downloads successfully in a browser, it fails to download in CloudStack using the same link. The error displayed was: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target."
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
are you download the template from the ssvm example get a presinged s3 URL for the object Login to the ssvm and do a curl example |
Beta Was this translation helpful? Give feedback.
@anjanahkarthic
are you download the template from the ssvm
example get a presinged s3 URL for the object
http://10.0.32.251:9000/kiran-bucket2/kvm.qcow2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20240802%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240802T050929Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=39e16a5ffd7bea25a62f11c9f39ae6153d809fb82f936a9baa1ef54887a76909
Login to the ssvm and do a curl
example
curl -o test.qcow2 "http://10.0.32.251:9000/kiran-bucket2/kvm.qcow2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20240802%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240802T050929Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Si…