WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud
  • Tanzu
    • Application Modernization
    • Tanzu services
    • Tanzu Community Edition
    • Tanzu Kubernetes Grid
    • vSphere with Tanzu
  • Home Lab
  • Nested Virtualization
  • Apple
You are here: Home / VMware Tanzu / Quick Tip - Workaround for x509: certificate signed by unknown authority when using Tanzu Community Edition (TCE) on Windows

Quick Tip - Workaround for x509: certificate signed by unknown authority when using Tanzu Community Edition (TCE) on Windows

10.06.2021 by William Lam // 4 Comments

Tanzu Community Edition (TCE) was just launched a few days ago and a lot of folks are kicking the tires. Just yesterday, I saw that we had already surpassed over 2K+ downloads, a huge achievement for the TCE team and lots of positive feedback like this and this.

I had a comment today from a reader who ran into the following error when using TCE for Windows:

Downloading TKG compatibility file from 'projects.registry.vmware.com/tkg/framework-zshippable/tkg-compatibility'
Error: unable to create Tanzu Standalone Cluster client
Cause: unable to ensure prerequisites: unable to ensure tkg BOM file: failed to download TKG compatibility file from the registry: failed to list TKG compatibility image tags: Get "https://projects.registry.vmware.com/v2/": x509: certificate signed by unknown authority

I immediately knew the issue as I ran into this myself a couple of days ago and started to look in TCE Github Issues.

This is currently a known issue for Windows that was reported awhile back and luckily, there is a quick workaround thanks to Steve Wong. Simply edit %USERPROFILE%\.config\tanzu\tkg\config.yaml configuration file and replace it with the following snippet:

release:
    version: ""
TKG_CUSTOM_IMAGE_REPOSITORY_SKIP_TLS_VERIFY: true

I have asked if the TCE folks can update the documentation to at least reference this workaround until this issue is resolved. I have noticed a few folks in TCE Slack channel also reporting this same issue and figure it was worth sharing in case others come across it.

More from my site

  • vSphere Event-Driven Automation using Tanzu Application Platform (TAP) on Tanzu Community Edition
  • Cluster API BYOH Provider on Photon OS (Arm) with Tanzu Community Edition (TCE) and ESXi-Arm
  • Hybrid (x86 and Arm) Kubernetes clusters using Tanzu Community Edition (TCE) and ESXi-Arm
  • Quick Tip - Install kube-vip as service load balancer with Tanzu Community Edition (TCE)
  • Quick Tip - Install Metallb as service load balancer with Tanzu Community Edition (TCE)

Categories // VMware Tanzu Tags // Tanzu Community Edition

Comments

  1. M. Buijs - Be-Virtual.net says

    10/07/2021 at 2:46 am

    Thanks William & Steve! First hit on Google and directly the issue is resolved!

    Reply
  2. Lynn says

    10/19/2021 at 4:03 am

    Thank you!

    Reply
  3. Devesh Shukla says

    10/05/2022 at 3:56 am

    Thank you so much !! This still an issue till version 0.12.1 of Tanzu Com Edition. However your workaround still working with its all versions !!

    Reply
  4. Tom says

    09/16/2023 at 5:46 am

    September 2023, workaround still works! Thank you. And yes, I know Tanzu CE is deprecated but I still want to check it out before I move to Tanzu K8s Grid

    Reply

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Author

William Lam is a Senior Staff Solution Architect working in the VMware Cloud team within the Cloud Infrastructure Business Group (CIBG) at VMware. He focuses on Cloud Native, Automation, Integration and Operation for the VMware Cloud based Software Defined Datacenters (SDDC) across Private, Hybrid and Public Cloud

Connect

  • Email
  • GitHub
  • LinkedIn
  • RSS
  • Twitter
  • Vimeo

Recent

  • ESXi on Lenovo ThinkStation P3 Ultra 09/29/2023
  • Quick Tip - vSphere 7.0 Update 3o also supports disabling/enabling vSphere Cluster Services (vCLS) in vSphere UI 09/29/2023
  • Heads Up - New image identifier required by VM Service in vSphere 8.0 Update 2 09/27/2023
  • How to setup private GitLab on a Synology for Project Keswick? 09/26/2023
  • ESXi on SimplyNUC Moonstone 09/25/2023

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2023