Skip to content

Commit ec608e0

Browse files
committed
Fix cert used in root ca dps setup
1 parent 0c15a0c commit ec608e0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

vsts/dps-e2e.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,11 @@ stages:
224224
# Set DPS Root CA
225225
export DPS_ROOT_CA_CERT_NAME="azure-iot-test-only"
226226
227-
time az iot dps certificate create --dps-name $AZURE_DPS_NAME --resource-group $AZURE_RESOURCE_GROUP --name $DPS_ROOT_CA_CERT_NAME --path $DPS_ROOT_CA_PK_PATH
227+
echo ">>> DPS_ROOT_CA_CERT_PATH=$DPS_ROOT_CA_CERT_PATH"
228+
cat $DPS_ROOT_CA_CERT_PATH
229+
echo "<<<"
230+
231+
time az iot dps certificate create --dps-name $AZURE_DPS_NAME --resource-group $AZURE_RESOURCE_GROUP --name $DPS_ROOT_CA_CERT_NAME --path $DPS_ROOT_CA_CERT_PATH
228232
229233
etag=$(az iot dps certificate show --dps-name $AZURE_DPS_NAME --resource-group $AZURE_RESOURCE_GROUP --name $DPS_ROOT_CA_CERT_NAME --query etag -o tsv)
230234
verification_cert=$(az iot dps certificate generate-verification-code --dps-name $AZURE_DPS_NAME --resource-group $AZURE_RESOURCE_GROUP --name $DPS_ROOT_CA_CERT_NAME --etag "$etag")

0 commit comments

Comments
 (0)