Comments (5)
Ah-- that makes total sense! And yes, I was going to submit that whole block with the code
tags as well. Thanks for the script, and I'll take a look at it this afternoon. Much appreciated.
CLOSING: Will submit errata. Error appears to be based on user local machine configuration.
from cka-study-guide.
Based on the error message you provided, it seems like you are missing the ~
character for the path to refer to .minikube
in the user home directory. The path should be ~/.minikube/ca.crt
. Alternatively, use the full path to the file.
from cka-study-guide.
Thanks, @bmuschko -- so that's a typo in the book, then, which I can log in the errata. But more importantly, if I put the ~ back in, then it at least finds the signature, but Docker still fails:
docker@minikube:~/cert$ openssl x509 -req -in johndoe.csr -CA ~/.minikube/ca.crt -CAkey ~/.minikube/ca.key -CAcreateserial -out johndoe.crt -days 364
Signature ok
subject=CN = johndoe, O = cka-study-guide
Can't open /home/docker/.minikube/ca.crt for reading, No such file or directory
281473422404064:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/home/docker/.minikube/ca.crt','r')
281473422404064:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76:
unable to load certificate
/home/docker is empty.
from cka-study-guide.
Ugh, you are right. There's an issue with the formatting of that command in the book. In the text above the command, you can see another incorrect formatting <code>...
. Would you mind sending that to the errata?
In regard to the commands, check this script I use during my live training: https://github.com/bmuschko/cka-crash-course/blob/master/exercises/01-rbac/create-user-context.sh
Side note: It seems like you installed minikube with a different user than docker
. Therefore, it's not visible to the user.
from cka-study-guide.
I added this issue to the errata: https://app.oreilly.com/cs/portal/edit/errata/200061
from cka-study-guide.
Related Issues (8)
- Mistake in Appendix A solution HOT 5
- Chapter 07 - troubleshooting pod does not work on ARM architecture HOT 2
- Chapter 2: kubernetes 1.24 serviceaccount creation does not create Secret by default anymore HOT 2
- Chapter 2: Kubernetes 1.21 deprecated --serviceaccount flag for kubectl run HOT 2
- Chapter 2: M1/M2 vagrant fails to build on virtual box beta for ARM HOT 2
- Chapter02 (Vagrant & Virtualbox, on ARM M1) HOT 6
- Chapter 02 HOT 6
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 cka-study-guide.