summaryrefslogtreecommitdiff
path: root/trust/tests/files
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2014-08-08 09:24:47 +0200
committerStef Walter <stef@thewalter.net>2014-08-08 09:27:10 +0200
commitc22e37091278ffb339c692f5c994c3393b12a254 (patch)
treee3ee89a56a46ea34a0e61df41589e1b4f13f011f /trust/tests/files
parent2e503dccd889a3f83951830fda18c9357377693d (diff)
trust: Parse TRUSTED CERTIFICATE openssl format even without CertAux
openssl sometimes outputs TRUSTED CERTIFICATE PEM files without the additional CertAux (ie: trust fields) information. It simply leaves that block out. This happens with a command like: $ openssl x509 -in my-cert.pem -out output -trustout
Diffstat (limited to 'trust/tests/files')
-rw-r--r--trust/tests/files/openssl-trust-no-trust.pem27
1 files changed, 27 insertions, 0 deletions
diff --git a/trust/tests/files/openssl-trust-no-trust.pem b/trust/tests/files/openssl-trust-no-trust.pem
new file mode 100644
index 0000000..07e3917
--- /dev/null
+++ b/trust/tests/files/openssl-trust-no-trust.pem
@@ -0,0 +1,27 @@
+-----BEGIN TRUSTED CERTIFICATE-----
+MIIEmTCCA4GgAwIBAgIQXSBhjowOuTRAk7mx2GOVtjANBgkqhkiG9w0BAQUFADBv
+MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFk
+ZFRydXN0IEV4dGVybmFsIFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBF
+eHRlcm5hbCBDQSBSb290MB4XDTE0MDgwNTAwMDAwMFoXDTE1MTEwMTIzNTk1OVow
+fzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2Ug
+Q2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSowKAYDVQQDEyFV
+U0VSVHJ1c3QgTGVnYWN5IFNlY3VyZSBTZXJ2ZXIgQ0EwggEiMA0GCSqGSIb3DQEB
+AQUAA4IBDwAwggEKAoI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