Skip to Main Content

Containers, Cloud Native & Kubernetes

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Certificate error while trying to use tofu

Damola AzeezApr 22 2025

I am trying to create an OKE cluster using the terraform scripts shred by oracle. When i do a topu apply, i get the following error

╷
│ Error: Get "https://PCA-DOMAIN/20160918/images?compartmentId=ocid1.tenancy.XXXX&operatingSystem=OracleLinux&operatingSystemVersion=8": tls: failed to verify certificate: x509: certificate signed by unknown authority
│
│   with data.oci_core_images.image1,
│   on image.tf line 1, in data "oci_core_images" "image1":
│    1: data "oci_core_images" "image1" {
│
╵

What could be the reason. I've setup my OCI cli using the recommended procedures and i also have my oci_cli_rc file setup too.

Comments
Post Details
Added on Apr 22 2025
1 comment
89 views