-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LinkerD Create Certificates Command Error #858
Comments
Also tested this and not working for me either. Managed to use the command below to get it working: certDir=$(exe='cd /tmp/certs && step certificate create root.linkerd.cluster.local ca.crt ca.key \
--profile root-ca --no-password --insecure \
&& step certificate create identity.linkerd.cluster.local issuer.crt issuer.key \
--profile intermediate-ca --not-after 87600h --no-password --insecure \
--ca ca.crt --ca-key ca.key'; \
sudo docker run --mount "type=bind,source=/tmp,destination=/tmp/certs" -i smallstep/step-cli /bin/bash -c "$exe"; \
echo $(pwd)); Output is shown below: wilhelmwonig@MacBook~ % ls -la /tmp/
total 32
drwxrwxrwt 12 root wheel 384 29 Apr 15:55 .
drwxr-xr-x 6 root wheel 192 12 Apr 20:41 ..
-rw------- 1 wilhelmwonigkeit wheel 599 29 Apr 15:55 ca.crt
-rw------- 1 wilhelmwonigkeit wheel 227 29 Apr 15:55 ca.key
-rw------- 1 wilhelmwonigkeit wheel 652 29 Apr 15:55 issuer.crt
-rw------- 1 wilhelmwonigkeit wheel 227 29 Apr 15:55 issuer.key |
Some follow up on the above. The command generates files into This causes the following step (Install Linkerd) on this page to fail because the command is looking for certs in So working command set would be:
|
Thanks. We need to update the docs. There is a info box for that but it seems the solution is to use the /tmp dir by default for the generated certs. |
Describe the bug
On this page, I run the LinkerD Create Certificates command:
and get:
whoami
ls -al
After command has failed (no keys created):
The text was updated successfully, but these errors were encountered: