diff options
Diffstat (limited to 'test/certs')
-rw-r--r-- | test/certs/cca-clientAuth.pem | 2 | ||||
-rw-r--r-- | test/certs/nca+anyEKU.pem | 14 | ||||
-rwxr-xr-x | test/certs/setup.sh | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/test/certs/cca-clientAuth.pem b/test/certs/cca-clientAuth.pem index 0f31101ff4..5e44dce787 100644 --- a/test/certs/cca-clientAuth.pem +++ b/test/certs/cca-clientAuth.pem @@ -15,5 +15,5 @@ YZYCppu6PTwp3UYgAFw6VN+2Hv6fWCwu2rsWLcqkJIJPkmjYATZJU2RkWrRpn23D SWwnam7i+uiJpot8uKhOCIQtrCtP+0Q8lG+6reWHpaNRU3Gcsrc+I98wyWhsx5jd fiLl1Cgb5G7Xz3Ff1ObdR6JdP4Wc9krj3Czbjv3oYFZ2p8LPgui+C7XDb4RBxGUu c4mETHtGSRoX6n25uEXvIia2KCcS44VfA6wYaZtO/Lq7FmJI0QwI8tsm7FG6ccj+ -y54iNhHRG7FCAXOLy2RBrEwQddq5MAwwCgYIKwYBBQUHAwI= +y54iNhHRG7FCAXOLy2RBrEwQddq5MAygCgYIKwYBBQUHAwI= -----END TRUSTED CERTIFICATE----- diff --git a/test/certs/nca+anyEKU.pem b/test/certs/nca+anyEKU.pem index b97a4559fa..3ebfede09c 100644 --- a/test/certs/nca+anyEKU.pem +++ b/test/certs/nca+anyEKU.pem @@ -1,6 +1,6 @@ -----BEGIN TRUSTED CERTIFICATE----- MIIDDTCCAfWgAwIBAgIBAjANBgkqhkiG9w0BAQsFADASMRAwDgYDVQQDDAdSb290 -IENBMCAXDTE2MDExNTA4MTk0OVoYDzIxMTYwMTE2MDgxOTQ5WjANMQswCQYDVQQD +IENBMCAXDTIwMTIxMjIwMTcwNFoYDzIxMjAxMjEzMjAxNzA0WjANMQswCQYDVQQD DAJDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJadpD0ASxxfxsvd j9IxsogVzMSGLFziaYuE9KejU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0uF80Hohuxbq7OAwCDAGBgRVHSUA -----END TRUSTED CERTIFICATE----- diff --git a/test/certs/setup.sh b/test/certs/setup.sh index 43f773e6b4..c4a6f28fc9 100755 --- a/test/certs/setup.sh +++ b/test/certs/setup.sh @@ -44,7 +44,7 @@ OPENSSL_KEYBITS=768 \ # primary client-EKU root: croot-cert ./mkcert.sh genroot "Root CA" root-key croot-cert clientAuth -# trust variants: +serverAuth -serverAuth +clientAuth +anyEKU -anyEKU +# trust variants: +serverAuth -serverAuth +clientAuth -clientAuth +anyEKU -anyEKU openssl x509 -in croot-cert.pem -trustout \ -addtrust serverAuth -out croot+serverAuth.pem openssl x509 -in croot-cert.pem -trustout \ @@ -97,11 +97,11 @@ openssl x509 -in ca-cert.pem -trustout \ -addtrust anyExtendedKeyUsage -out ca+anyEKU.pem openssl x509 -in ca-cert.pem -trustout \ -addreject anyExtendedKeyUsage -out ca-anyEKU.pem -# ca-nonca trust variants: +serverAuth, -serverAuth +# ca-nonca trust variants: +serverAuth, +anyEKU openssl x509 -in ca-nonca.pem -trustout \ -addtrust serverAuth -out nca+serverAuth.pem openssl x509 -in ca-nonca.pem -trustout \ - -addtrust serverAuth -out nca+anyEKU.pem + -addtrust anyExtendedKeyUsage -out nca+anyEKU.pem # Intermediate CA security variants: # MD5 issuer signature, @@ -129,7 +129,7 @@ openssl x509 -in cca-cert.pem -trustout \ openssl x509 -in cca-cert.pem -trustout \ -addtrust clientAuth -out cca+clientAuth.pem openssl x509 -in cca-cert.pem -trustout \ - -addtrust clientAuth -out cca-clientAuth.pem + -addreject clientAuth -out cca-clientAuth.pem openssl x509 -in cca-cert.pem -trustout \ -addtrust anyExtendedKeyUsage -out cca+anyEKU.pem openssl x509 -in cca-cert.pem -trustout \ |