Skip to content

Commit 70dacb2

Browse files
committed
Verify certificates
1 parent cdef11a commit 70dacb2

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎vsts/dps-e2e.yaml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ stages:
171171
export DPS_ROOT_CA_PK=$(pwd)/private/azure-iot-test-only.root.ca.key.pem
172172
export DPS_ROOT_CA_PASSWORD=1234
173173
174+
echo ">>>>>"
175+
ls -l $DPS_ROOT_CA_CERT
176+
ls -l $DPS_ROOT_CA_PK
177+
base64 -d $DPS_ROOT_CA_CERT
178+
echo "<<<<<"
179+
174180
echo "##vso[task.setvariable variable=DPS_ROOT_CA_CERT;isOutput=true]$DPS_ROOT_CA_CERT"
175181
echo "##vso[task.setvariable variable=DPS_ROOT_CA_PK;isOutput=true]$DPS_ROOT_CA_PK"
176182
echo "##vso[task.setvariable variable=DPS_ROOT_CA_PASSWORD;isOutput=true]$DPS_ROOT_CA_PASSWORD"
@@ -252,6 +258,12 @@ stages:
252258
displayName: 'create RANDFILE file (needed to store seed data) separately due to openssl version issues in the pipeline'
253259
254260
- script: |
261+
echo ">>>>>"
262+
ls -l $PROVISIONING_ROOT_CERT
263+
ls -l $PROVISIONING_ROOT_CERT_KEY
264+
base64 -d $PROVISIONING_ROOT_CERT
265+
echo "<<<<<"
266+
255267
cd $(Build.SourcesDirectory)/tests/e2e/provisioning_e2e
256268
pytest --junitxml=junit/dps-e2e-test-results.xml
257269
displayName: 'Run Specified E2E Test with env variables'

0 commit comments

Comments
 (0)