mmumshad / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way on Vagrant on Local Machine. No scripts.
Apache License 2.0
4.7k stars 4.54k forks source link

unable to load certificate while installing worker node,need help #271

Closed Shahnawaz-1 closed 2 years ago

Shahnawaz-1 commented 2 years ago
openssl x509 -req -in worker-1.csr -CA ca.crt -CAkey ca.key -CAcreateserial  -out worker-1.crt -extensions v3_req -extfile openssl-worker-1.cnf -days 1000

getting error

-worker-1.cnf -days 1000
Signature ok
subject=CN = system:node:worker-1, O = system:nodes
Can't open ca.crt for reading, No such file or directory
140438563996992:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('ca.crt','r')
140438563996992:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76:
unable to load certificate

@mmumshad @M-Ayman @vpalazhi @