tanzu mission-control context create tmc --endpoint yourtmcsm.fqdn --idp-type pinniped --basic-auth
[i] Starting TMC login...[i] IDP type is set to "pinniped"[i] endpoint is set to "tmcsm.Domain"[i] [i] context is set to "tmc"[i] Logging in to TMC Self Managed (Pinniped)...[i] Pinniped Username/Password login...Error: failed to retrieve endpoints from well-known endpoint, Error [117]: OIDC Metadata Retrieval Error, detail: Get "https://pinniped-supervisor.tmcsm.Domain/provider/pinniped/.well-known/openid-configuration": tls: failed to verify certificate: x509: certificate signed by unknown authorityUsage:
tanzu mission-control context create tmc --endpoint yourtmcsm.fqdn --idp-type pinniped --basic-auth --insecure
[i] Starting TMC login...[i] IDP type is set to "pinniped"[i] endpoint is set to "tmcsm.Domain"[i] [i] context is set to "tmc"[i] Logging in to TMC Self Managed (Pinniped)...[i] Pinniped Username/Password login...? Username tseadmin? Password [? for help] **********[i] Successfully created a TMC SelfManaged (Pinniped) context, "tmc"[i] Synchronizing other TMC plugins...[i] Fetching recommended plugins for active context 'tmc'...[i] Fetching recommended plugins for active context 'tmc-sm-cluster'...[ok] No recommended plugins found.[x] : unable to list plugins from discovery source 'default-tmc': Get "https://tmcsm.domain:443/v1alpha1/system/binaries/plugins": tls: failed to verify certificate: x509: certificate signed by unknown authorityError: exit status 1
VMware Tanzu Mission Control Self Manage (TMC-SM)
The certificate for issuer/Certificate Authority (CA) that issued the TMC SM DNS zone certificates is not trusted by the JumpBox where we trying to login to TMC SM using the "tanzu mission-control context create" command.
kubectl get secret -n cert-manager tmcsm-issuer -o jsonpath="{.data.ca\.crt"} | base64 -d > clusterIssuerCA.crtSteps to Trust a root CA Certificate on:
- Windows JumpBox:
- Ubuntu JumpBox . See Install a root CA certificate in the trust store