Comments (2)
Sorry it took a while to get back to you, if I'm understanding the question with would this work for you?
$ kube-aws render credentials --ca-cert-path=./credentials/ca.pem --ca-key-path=./credentials/ca-key.pem
from kube-aws.
That is the command that I use to generate the cluster certificates.
But I choose to sign the cluster CA certificate with my company's CA authority and I missed to provide its public key to the cluster nodes. This results in a failure in SSL verification when performing requests to the cluster API form within a pod.
In fact if I run curl -vI --cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt https://kubernetes
I get
* Trying 10.3.0.1...
* Connected to 10.3.0.1 (10.3.0.1) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (OUT), TLS alert, Server hello (2):
* SSL certificate problem: unable to get issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
How can I add our CA public key to the cluster nodes?
from kube-aws.
Related Issues (20)
- S3 bucket versioning HOT 4
- kube-aws 0.12.x to 0.13.x ETCD Version HOT 4
- Config template error on init HOT 7
- prometheusMetrics for clusterAutoscaler plugin [0.15] HOT 5
- Deploy step failed HOT 4
- [0.14.3 => 0.15] Regression regarding Persistent Volume HOT 3
- Coreos EOL HOT 14
- v0.15.1 - Cloud-Controller-Manager - configure-cloud-routes is not disabled
- Migrating from kube-aws 0.14 to 0.15 issues HOT 5
- Support Bottlerocket – Open Source OS for Container Hosting HOT 1
- kube-aws apply/validate throws "ERROR: Bad template: apiVersion: v1" HOT 4
- DisableContainerLinuxAutomaticUpdates does not seem to be implemented properly.
- Broken render credentials flag for apiserver aggregator key HOT 1
- Kube-aws: Template format error: Unresolved resource dependencies [IAMRoleController] HOT 3
- 0.12.7 Release doesn't include latest feature in changelog HOT 4
- Migrate kube-aws to `node.kubernetes.io/role: control-plane` taint HOT 2
- upgrading 0.14 to 0.15: etcd migration failed; controller kubelet fails HOT 1
- s3, kms, awscli, & kube-aws: time to update coreos/awscli? HOT 2
- Unable to scrape node metrics after upgrade to 0.13 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kube-aws.