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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to