The certificate being used by the k8s API server on port 443 is an untrusted certificate.

Problem

  • Vulnerability checks report that the certificate used by the k8s API server on port 443 is not a trusted certificate.

  • Why not use a certificate signed by a trusted third-party Certificate Authority in PMK?

Environment

  • Platform9 Managed Kubernetes - All Versions

  • Pf9-Vault

Answer

  • PMK uses HashiCorp Vaultarrow-up-right to manage certificates. The certificates are issued by Vault's internal CA and are trusted within the environment. However, they may be flagged as untrusted by external tools unless the CA certificate is added to their trust stores.

  • Third-party CAs are useful when there are a large number of clients and they are unaware of the CA used by the server.

  • It is standard practice to use self-signed certificates to connect to the API server. From a Kubernetes perspective, the clients are known - they are the worker nodes and clients connecting using a kubeconfig.

  • In both cases, they are preconfigured to use the CAs generated by PMK. Platform9arrow-up-right owns the complete workflow of creating these certificates, distributing them to the server and clients, and rotating them when they are about to expire.

  • So, In this scenario, there won't be any additional security benefits of using third-party CAs.

Additional Information

If the customer is using Qualysarrow-up-right for vulnerability checks:

Last updated