Skip to content

Commit

Permalink
debug cert permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Sep 9, 2024
1 parent b263699 commit eaf0b01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ upload() {
echo "Could not detect certificate common name" >&2
exit 1
fi
if [ ! -f "$DEVICE_CERTS/tedge-certificate.pem" ]; then
echo "device certificate does not exist: $DEVICE_CERTS/tedge-certificate.pem" >&2
exit 1
fi
c8y devicemanagement certificates create \
--force \
--name "$COMMON_NAME" \
Expand Down

0 comments on commit eaf0b01

Please sign in to comment.