Skip to content

Commit

Permalink
replace base64 binary dependency with openssl command
Browse files Browse the repository at this point in the history
  • Loading branch information
lzuba committed Apr 22, 2024
1 parent 3c31552 commit d5e142e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlaps_client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function enroll(){
-nodes \
-newkey rsa:2048 \
-keyout "$KEY_FILE" \
-subj "$SUBJ" | tee "$CSR_FILE" | base64 -i - ; exit ${PIPESTATUS[0]})
-subj "$SUBJ" | tee "$CSR_FILE" | openssl base64 -e ; exit ${PIPESTATUS[0]})

if [ $? ]; then
jamflog "Generated CSR for enrollment!"
Expand Down

0 comments on commit d5e142e

Please sign in to comment.