Hi, Please refer to https://github.com/apache/cloudstack/issues/9962#issuecomment-2507657383
-Wei On Mon, Dec 2, 2024 at 10:02 AM Niclas Lindblom <niclas_lindb...@icloud.com.invalid> wrote: > Hello, > > I am trying to use OpenTofu (Terraform) to dynamically register a > template, but I am getting the error: > > PKIX path building failed: > sun.security.provider.certpath.SunCertPathBuilderException: unable to find > valid certification path to requested target] > > That I can see in the UI when the image is being dowloaded to the zone. > The URL downloads fine in my Safari browser > > CS version is 4.19.1 > > Does anyone have any ideas one what’s going wrong here ? > > Here’s the Terraform snippet > > > resource "cloudstack_template" "talos_custom" { > name = "talos latest" > format = "QCOW2" > hypervisor = "kvm" > os_type = "Linux 6.x Kernel (64-bit)" > url = " > https://factory.talos.dev/image/7d62abe0c1b6f96176f3f3ccc17c3f01982fddb8f505f91e4c040ff900fd7fdc/v1.8.3/metal-amd64.qcow2 > " > zone = "home" > } > > > > Thanks > > Niclas > > >