Skip to content

Commit 17c3014

Browse files
committed
Adding test cases with BundleEID Other Name
1 parent 9cc3006 commit 17c3014

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

data_files/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,9 @@ all_final += server5-selfsigned.crt
475475
parse_input/server5-othername.crt.der: server5.key
476476
$(OPENSSL) req -x509 -new -subj "/C=UK/O=Mbed TLS/CN=Mbed TLS othername SAN" -set_serial 77 -config $(test_ca_config_file) -extensions othername_san -days 3650 -sha256 -key $< -outform der -out $@
477477

478+
parse_input/server5-bp_eid.crt.der: server5.key
479+
$(OPENSSL) req -x509 -new -subj "/C=UK/O=Mbed TLS/CN=Mbed TLS othername SAN" -set_serial 77 -config $(test_ca_config_file) -extensions bp_eid_san -days 3650 -sha256 -key $< -outform der -out $@
480+
478481
parse_input/server5-nonprintable_othername.crt.der: server5.key
479482
$(OPENSSL) req -x509 -new -subj "/C=UK/O=Mbed TLS/CN=Mbed TLS non-printable othername SAN" -set_serial 77 -config $(test_ca_config_file) -extensions nonprintable_othername_san -days 3650 -sha256 -key $< -outform der -out $@
480483

449 Bytes
Binary file not shown.

data_files/test-ca.opensslconf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ basicConstraints = CA:true
2020
[othername_san]
2121
subjectAltName=otherName:1.3.6.1.5.5.7.8.4;SEQ:hw_module_name
2222

23+
[bp_eid_san]
24+
subjectAltName=otherName:1.3.6.1.5.5.7.8.11;IA5:"ipn:977000.100.0"
25+
2326
[nonprintable_othername_san]
2427
subjectAltName=otherName:1.3.6.1.5.5.7.8.4;SEQ:nonprintable_hw_module_name
2528

0 commit comments

Comments
 (0)