Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref: get constant handles on more pkiFiles
- constant handles are stronger identities than string identities REFACTORING: proven to have no effect via diff-against-bitte-commit - the following diff shows equivalence where `echo "$cert" | cfssljson -bare cert` is the producer of cert & cert-key ENV DIFF: ```diff echo "$cert" | cfssljson -bare cert - echo "$cert" | jq -r -e .ca > "ca.pem" - echo "$cert" | jq -r -e .full > "full.pem" - - for pem in *.pem; do - [ -s "$pem" ] - cp "$pem" "/etc/ssl/certs/$pem" - done + cp cert.pem /etc/ssl/certs/cert.pem + cp cert-key.pem /etc/ssl/certs/cert-key.pem + + echo "$cert" | jq -r -e .ca > "/etc/ssl/certs/ca.pem" + echo "$cert" | jq -r -e .full > "/etc/ssl/certs/full.pem" ```
- Loading branch information