Skip to content

Commit 154b865

Browse files
committed
fix: SSL connection failed due to different order of parse certificates in CI
1 parent 7dd2fd6 commit 154b865

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

components/customized_partitions/generation_tools/client_ca.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def main():
4848
raw_data_files = ['']
4949
for suffix in ['.pem', '.der', '.cer', '.crt']:
5050
raw_data_files += glob.glob(os.path.join(raw_data_path, ''.join(['*', suffix])))
51+
raw_data_files.sort()
5152

5253
if len(raw_data_files) == 0:
5354
print('none raw data file for ble_data exists')

components/customized_partitions/generation_tools/client_cert.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def main():
4848
raw_data_files = ['']
4949
for suffix in ['.pem', '.der', '.cer', '.crt']:
5050
raw_data_files += glob.glob(os.path.join(raw_data_path, ''.join(['*', suffix])))
51+
raw_data_files.sort()
5152

5253
if len(raw_data_files) == 0:
5354
print('none raw data file for ble_data exists')

components/customized_partitions/generation_tools/client_key.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def main():
4848
raw_data_files = ['']
4949
for suffix in ['.pem', '.der', '.key']:
5050
raw_data_files += glob.glob(os.path.join(raw_data_path, ''.join(['*', suffix])))
51+
raw_data_files.sort()
5152

5253
if len(raw_data_files) == 0:
5354
print('none raw data file for ble_data exists')

0 commit comments

Comments
 (0)