diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/src/test/java/tests/resources/x509/cert-alt-none.der | bin | 0 -> 576 bytes | |||
-rwxr-xr-x | support/src/test/java/tests/resources/x509/create.sh | 2 | ||||
-rw-r--r-- | support/src/test/java/tests/resources/x509/default.cnf | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/support/src/test/java/tests/resources/x509/cert-alt-none.der b/support/src/test/java/tests/resources/x509/cert-alt-none.der Binary files differnew file mode 100644 index 0000000..fbf543a --- /dev/null +++ b/support/src/test/java/tests/resources/x509/cert-alt-none.der diff --git a/support/src/test/java/tests/resources/x509/create.sh b/support/src/test/java/tests/resources/x509/create.sh index 5db8557..dfab42e 100755 --- a/support/src/test/java/tests/resources/x509/create.sh +++ b/support/src/test/java/tests/resources/x509/create.sh @@ -55,6 +55,8 @@ openssl req -config ${DIR}/default.cnf -new -nodes -batch | openssl x509 -extfil openssl req -config ${DIR}/default.cnf -new -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions alt_rid_cert -req -signkey privkey.pem -outform d > cert-alt-rid.der +openssl req -config ${DIR}/default.cnf -new -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions alt_none_cert -req -signkey privkey.pem -outform d > cert-alt-none.der + openssl req -config ${DIR}/default.cnf -new -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions ipv6_cert -req -signkey privkey.pem -outform d > cert-ipv6.der openssl req -config ${DIR}/default.cnf -new -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions unsupported_cert -req -signkey privkey.pem -outform d > cert-unsupported.der diff --git a/support/src/test/java/tests/resources/x509/default.cnf b/support/src/test/java/tests/resources/x509/default.cnf index d7c53c5..bdb2dec 100644 --- a/support/src/test/java/tests/resources/x509/default.cnf +++ b/support/src/test/java/tests/resources/x509/default.cnf @@ -224,6 +224,8 @@ subjectAltName = @alt_names issuerAltName = @alt_names #subjectAltName = ASN1:SEQUENCE:raw_alt_names +[ alt_none_cert ] + [ alt_names ] otherName.0 = 1.2.3.4;UTF8:test1 email.0 = x509@example.com |