Replies: 12 comments
-
could you please try embed cert? |
Beta Was this translation helpful? Give feedback.
-
Sorry for delay, will answer quikly now. How do you mean that, "embed cert" ? |
Beta Was this translation helpful? Give feedback.
-
embed: non-embed |
Beta Was this translation helpful? Give feedback.
-
Hi, its already embedded. Here is the cubeconfig Im using, with all names and ip replaced:
|
Beta Was this translation helpful? Give feedback.
-
could you please share your cluster |
Beta Was this translation helpful? Give feedback.
-
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUZQRENDQXlTZ0F3SUJBZ0lVUlRHWHJKeVNvc0tXNjdQSGxadDg3SmxSRitRd0RRWUpLb1pJaHZjTkFRRUwKQlFBd0Z6RVZNQk1HQTFVRUF4TU1hemh6TWkxak5URndNRGc1TUNJWUR6QXdNREV3TVRBeE1EQXdNREF3V2hnUApNakV5TVRBMk1UUXdPRFEwTURCYU1CY3hGVEFUQmdOVkJBTVRER3M0Y3pJdFl6VXhjREE0T1RDQ0FpSXdEUVlKCktvWklodmNOQVFFQkJRQURnZ0lQQURDQ0Fnb0NnZ0lCQUxyVnVlOHNjS2xDdHhLTHdpbkRscTdLQ3hTUXBoangKeEVHUzRLV3UzV0crMWJXc2Njc1ZLcWNxTFJCVTBEcUhZK25Wb1doYzBUbGdzT0RDbEd4WE9sbjhRdGhVbjJwMwpLNlBqUmk4bVkxeEZzRGtwNS84RjF5TXFlMnFtcE9JM3ROWnRoQjQrVHlFbGd6MUZoWGY0Z1J4VHd0cFV5TWhMCkNhWnFLOGVGNUpqVC9yMWRaU1E5SG1FeGh6djR1RitCeFVRUFNZditWdkpLbVc0ZUJPRFcrVnNRd0RPaWlOUE4KWitzSWsxL0Vvd0krMXJOcUl6NTE1UkVLd0VwOERxRFRRTlphSHhDdGZ5YTZ6dS8wZXYrbm9kZXp6TXZPVTVuTgpIYXI2RjRqRStmSHY0K3NOMVMyYVV4Vmh5aTQxY09zb2dYeWQyVzhTamY0Q0hCK1JVWFVPd2lFZ3J3NWhqeVlLCjRRWTkw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4NkNqUzlmS1c3dTBUSWFERjQvc1d0RXRLN1gzNkw3RVh6eFJzTmhTRHRqSGhFSHdUa0U0dndzVmZQcVptUTUKSEZZUEljZzJRdDNZWlp3L0lsaFdhOWhPaE56SHpsN2lRNHhKSEZVQmhBNzRlcHowaTVkdk1URFpWYUNkbFdEWgo4dUFqMGhIU04yTTRhdElJMFpwbTNrbnNHQ2Z1ZjVuSW4xdTZCdW5SNGx5bWY3QWJOSnhJM1hmaitQWHJOTmtUCldoODI2NXpENjhiL2Nlc3Y4QzA1Y1p6Q0JUUC80OHJqMTFtUzAvYzFSbGZPY25XcHBiWHJYVjZhNGJzSUk5NmQKS1pDTUtQUXB3SnppcDZ1N2I1K1FheXhFcSt0SExjWEhOZ1JGazVaK3NleDVVcUtJczZUcjN2Tk9OYmhCS1NYdwpLQmtyUXB2OFFQUXRZd0IrZlZkOS9YVHcxdCt0N1RwSGF0UnNYRnAzZnJnL2RqdlJTL0VJdDlWeTVxNUZrOUJCCnVUdzR2MStOaUN3QkU3U2tYVXVBZTdsZ21zL1pjQ1pOQzEzTTQ0ZS9FalZoZHJnQ2dLUVNVQkpvT05PcmZFK0sKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ== |
Beta Was this translation helpful? Give feedback.
-
any idea what this could be? |
Beta Was this translation helpful? Give feedback.
-
w32 err seems cant parse your cert |
Beta Was this translation helpful? Give feedback.
-
For my case is working using embed (certificate-authority-data) while running my app localhost
But, the same error occurs when I am publishing the app into Azure WebApp. |
Beta Was this translation helpful? Give feedback.
-
@koureasstavros did you also put all chain to base64 when deploying webapp? |
Beta Was this translation helpful? Give feedback.
-
I manage to solve this yesterday by adding an environmental variable into the WebApp from the Azure Portal |
Beta Was this translation helpful? Give feedback.
-
I have a .kubeconfig file that is perfectly working when I use kubectl via windows command line or powershell.
But when I try to initialize
var config = KubernetesClientConfiguration.BuildConfigFromConfigFile(configFile);
I immediately get an exception "Object not found" with following stacktrace.
How can I solve that? Thank you.
bei Internal.Cryptography.Pal.CertificatePal.FromBlobOrFile(ReadOnlySpan1 rawData, String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)
bei System.Security.Cryptography.X509Certificates.X509Certificate..ctor(ReadOnlySpan1 data)
bei k8s.KubernetesClientConfiguration.SetClusterDetails(K8SConfiguration k8SConfig, Context activeContext)
bei k8s.KubernetesClientConfiguration.InitializeContext(K8SConfiguration k8SConfig, String currentContext)
bei k8s.KubernetesClientConfiguration.GetKubernetesClientConfiguration(String currentContext, String masterUrl, K8SConfiguration k8SConfig)
bei k8s.KubernetesClientConfiguration.d__19.MoveNext()
bei k8s.KubernetesClientConfiguration.BuildConfigFromConfigFile(FileInfo kubeconfig, String currentContext, String masterUrl, Boolean useRelativePaths)
Beta Was this translation helpful? Give feedback.
All reactions