skip to Main Content

Docker Desktop for Windows cannot enable kubernetes with error x509: certificate signed by unknown authority

I am trying to enable kubernetes for Docker Desktop. Kubernetes is however failing to start. My log file shows: cannot get lease for master node: Get "https://kubernetes.docker.internal:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/docker-desktop": x509: certificate signed by unknown authority: Get "https://kubernetes.docker.internal:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/docker-desktop": x509: certificate signed by unknown…

VIEW QUESTION

I've got problems using Telegram Bot API webhook support with self signed cert generated via bouncycastle – Telegram API

This is my code which generated certificate. KeyPairGenerator gen = KeyPairGenerator.getInstance("RSA"); gen.initialize(2048); pair = gen.generateKeyPair(); privateKey = pair.getPrivate(); publicKey = pair.getPublic(); SubjectPublicKeyInfo publicKeyInfo = SubjectPublicKeyInfo.getInstance(publicKey.getEncoded()); X509v3CertificateBuilder builder = new X509v3CertificateBuilder(subjectDN, new BigInteger(serialNumber + ""), startDate, endDate, subjectDN, publicKeyInfo); ContentSigner signer…

VIEW QUESTION
Back To Top
Search