Browse Source

Generate crypto material for tests

new-scoring
aeris 2 years ago
parent
commit
9abcc3365a

+ 5
- 1
Makefile View File

@@ -44,6 +44,7 @@ build/$(OPENSSL_NAME).tar.gz: | build/
$(OPENSSL_DIR)/: build/$(OPENSSL_NAME).tar.gz build/chacha-poly.patch
tar -C build -xf build/$(OPENSSL_NAME).tar.gz
patch -d $(OPENSSL_DIR) -p1 < build/chacha-poly.patch
patch -d $(OPENSSL_DIR) -p1 < disable_digest_check.path

$(OPENSSL_DIR)/Makefile: | $(OPENSSL_DIR)/
#cd $(OPENSSL_DIR) && ./Configure enable-ssl2 enable-ssl3 enable-weak-ssl-ciphers enable-zlib enable-rc5 enable-rc2 enable-gost enable-md2 enable-mdc2 enable-shared linux-x86_64
@@ -91,10 +92,13 @@ $(RUBY_OPENSSL_EXT_DIR)/Makefile: libs | $(RUBY_DIR)/
patch -d $(RUBY_DIR)/ -p1 < multiple_certs.patch
cd $(RUBY_OPENSSL_EXT_DIR) && ruby extconf.rb

$(RUBY_OPENSSL_EXT_DIR)/openssl.so: $(LIBS) #$(RUBY_OPENSSL_EXT_DIR)/Makefile
$(RUBY_OPENSSL_EXT_DIR)/openssl.so: $(LIBS) $(RUBY_OPENSSL_EXT_DIR)/Makefile
top_srcdir=../.. $(MAKE) -C $(RUBY_OPENSSL_EXT_DIR)

lib/openssl.so: $(RUBY_OPENSSL_EXT_DIR)/openssl.so
cp $< $@

ext: lib/openssl.so

test-material:
bin/generate-test-material.rb

+ 144
- 0
bin/generate-test-material.rb View File

@@ -0,0 +1,144 @@
#!/usr/bin/env ruby
$:.unshift File.expand_path File.join File.dirname(__FILE__), '../lib'
require 'rubygems'
require 'bundler/setup'
require 'openssl'
require 'socket'
require 'cryptcheck'

LOG = ::CryptCheck::Logger
LOG.level = ENV['LOG'] || :info

OpenSSL::PKey::EC.send :alias_method, :private?, :private_key?

CA_KEY_USAGE = %w(keyCertSign cRLSign)
CA_EXTENDED_KEY_USAGE = []
CA_NETSCAPE_CERT_TYPE = %w(sslCA)
RSA_KEY_USAGE = %w(digitalSignature)
ECDSA_KEY_USAGE = %w(digitalSignature)
CERT_EXTENDED_KEY_USAGE = %w(serverAuth)
CERT_NETSCAPE_CERT_TYPE = %w(server)


def certificate(key, subject, san: %w(DNS:localhost),
from: Time.utc(2000, 1, 1), to: Time.utc(2001, 1, 1),
issuer: nil, ca: false,
key_usage: ECDSA_KEY_USAGE, extended_key_usage: CERT_EXTENDED_KEY_USAGE,
netscape_cert_type: CERT_NETSCAPE_CERT_TYPE,
hash: OpenSSL::Digest::SHA512, extensions: [])
cert = OpenSSL::X509::Certificate.new
cert.version = 3
cert.serial = rand 2**63 .. 2**64
cert.not_before = from if from
cert.not_after = to if to

cert.public_key = case key
when OpenSSL::PKey::EC
curve = key.group.curve_name
public = OpenSSL::PKey::EC.new curve
public.public_key = key.public_key
public
else
key.public_key
end

name = OpenSSL::X509::Name.parse subject
cert.subject = name

issuer = { cert: cert, key: key } unless issuer
cert.issuer = issuer[:cert].subject

extension_factory = OpenSSL::X509::ExtensionFactory.new nil, cert
extension_factory.subject_certificate = cert
extension_factory.issuer_certificate = issuer[:cert]

cert.add_extension extension_factory.create_extension 'basicConstraints', "CA:#{ca.to_s.upcase}", true
cert.add_extension extension_factory.create_extension 'keyUsage', key_usage.uniq.join(','), true unless key_usage.empty?
cert.add_extension extension_factory.create_extension 'extendedKeyUsage', extended_key_usage.uniq.join(','), true unless extended_key_usage.empty?
cert.add_extension extension_factory.create_extension 'nsCertType', netscape_cert_type.uniq.join(',') unless netscape_cert_type.empty?
cert.add_extension extension_factory.create_extension 'subjectKeyIdentifier', 'hash'
cert.add_extension extension_factory.create_extension 'authorityKeyIdentifier', 'keyid:always'
cert.add_extension extension_factory.create_extension 'subjectAltName', san.uniq.join(',') unless san.empty?

extensions.each { |e| cert.add_extension e }

cert.sign issuer[:key], hash.new

cert
end

def generate_dh(size)
filename = "spec/resources/dh-#{size}.pem"
return if File.exist? filename
LOG.info "Generate dh-#{size}"
File.write filename, OpenSSL::PKey::DH.new(size).to_pem
end

def generate_material(name, key, cert)
key_file = "spec/resources/#{name}.pem"
key = if File.exists?(key_file)
OpenSSL::PKey.read File.read key_file
else
LOG.info "Generate #{name} key"
key = key.call
File.write key_file, key.to_pem
key
end

cert_file = "spec/resources/#{name}.crt"
cert = if File.exist?(cert_file)
OpenSSL::X509::Certificate.new File.read cert_file
else
LOG.info "Generate #{name} cert"
cert = cert.call key
File.write cert_file, cert.to_pem
cert
end

[key, cert]
end

ca_key, ca_cert = generate_material 'ca',
-> () { OpenSSL::PKey::EC.new('secp384r1').generate_key },
-> (k) { certificate k, '/CN=ca', ca: true, key_usage: CA_KEY_USAGE, extended_key_usage: CA_EXTENDED_KEY_USAGE, netscape_cert_type: CA_NETSCAPE_CERT_TYPE }

intermediate_key, intermediate_cert = generate_material 'intermediate',
-> () { OpenSSL::PKey::EC.new('secp384r1').generate_key },
-> (key) { certificate key, '/CN=intermediate', ca: true, issuer: { cert: ca_cert, key: ca_key }, key_usage: CA_KEY_USAGE, extended_key_usage: CA_EXTENDED_KEY_USAGE, netscape_cert_type: CA_NETSCAPE_CERT_TYPE }
issuer = { cert: intermediate_cert, key: intermediate_key }

[512, 768, 1024, 2048, 3072, 4096].each do |s|
generate_material "rsa-#{s}",
-> () { OpenSSL::PKey::RSA.new s },
-> (key) { certificate key, "/CN=rsa-#{s}", issuer: issuer, key_usage: RSA_KEY_USAGE }
generate_dh s
end

CryptCheck::Tls::Curve.each do |c|
c = c.name
generate_material "ecdsa-#{c}",
-> () { OpenSSL::PKey::EC.new(c).generate_key },
-> (key) { certificate key, "/CN=ecdsa-#{c}", issuer: issuer }
end

generate_material 'self-signed',
-> { OpenSSL::PKey::EC.new('prime256v1').generate_key },
-> (key) { certificate key, '/CN=self-signed', ca: true,
key_usage: CA_KEY_USAGE+ECDSA_KEY_USAGE,
extended_key_usage: CA_EXTENDED_KEY_USAGE + CERT_EXTENDED_KEY_USAGE,
netscape_cert_type: CA_NETSCAPE_CERT_TYPE + CERT_NETSCAPE_CERT_TYPE }

# Require patched OpenSSL to be able to issue MD5 certificates
generate_material 'md5',
-> { OpenSSL::PKey::EC.new('prime256v1').generate_key },
-> (key) { certificate key, '/CN=md5', issuer: issuer, hash: OpenSSL::Digest::MD5 }

# Require patched OpenSSL to be able to issue SHA1 certificates
generate_material 'sha1',
-> { OpenSSL::PKey::EC.new('prime256v1').generate_key },
-> (key) { certificate key, '/CN=sha1', issuer: issuer, hash: OpenSSL::Digest::SHA1 }

must_staple = OpenSSL::X509::Extension.new '1.3.6.1.5.5.7.1.24', '0', true
generate_material 'must-staple',
-> () { OpenSSL::PKey::EC.new('prime256v1').generate_key },
-> (key) { certificate key, '/CN=must-staple', issuer: issuer, extensions: [must_staple] }

+ 76
- 0
disable_digest_check.path View File

@@ -0,0 +1,76 @@
diff --git a/crypto/dsa/dsa_pmeth.c b/crypto/dsa/dsa_pmeth.c
index 42b8bb0..baaa76f 100644
--- a/crypto/dsa/dsa_pmeth.c
+++ b/crypto/dsa/dsa_pmeth.c
@@ -174,26 +174,26 @@ static int pkey_dsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
return 1;
case EVP_PKEY_CTRL_DSA_PARAMGEN_MD:
- if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
- EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
- EVP_MD_type((const EVP_MD *)p2) != NID_sha256) {
- DSAerr(DSA_F_PKEY_DSA_CTRL, DSA_R_INVALID_DIGEST_TYPE);
- return 0;
- }
+ // if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_sha256) {
+ // DSAerr(DSA_F_PKEY_DSA_CTRL, DSA_R_INVALID_DIGEST_TYPE);
+ // return 0;
+ // }
dctx->md = p2;
return 1;
case EVP_PKEY_CTRL_MD:
- if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
- EVP_MD_type((const EVP_MD *)p2) != NID_dsa &&
- EVP_MD_type((const EVP_MD *)p2) != NID_dsaWithSHA &&
- EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
- EVP_MD_type((const EVP_MD *)p2) != NID_sha256 &&
- EVP_MD_type((const EVP_MD *)p2) != NID_sha384 &&
- EVP_MD_type((const EVP_MD *)p2) != NID_sha512) {
- DSAerr(DSA_F_PKEY_DSA_CTRL, DSA_R_INVALID_DIGEST_TYPE);
- return 0;
- }
+ // if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_dsa &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_dsaWithSHA &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_sha256 &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_sha384 &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_sha512) {
+ // DSAerr(DSA_F_PKEY_DSA_CTRL, DSA_R_INVALID_DIGEST_TYPE);
+ // return 0;
+ // }
dctx->md = p2;
return 1;
diff --git a/crypto/ec/ec_pmeth.c b/crypto/ec/ec_pmeth.c
index b767490..70eea17 100644
--- a/crypto/ec/ec_pmeth.c
+++ b/crypto/ec/ec_pmeth.c
@@ -379,15 +379,15 @@ static int pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
return dctx->kdf_ukmlen;
case EVP_PKEY_CTRL_MD:
- if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
- EVP_MD_type((const EVP_MD *)p2) != NID_ecdsa_with_SHA1 &&
- EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
- EVP_MD_type((const EVP_MD *)p2) != NID_sha256 &&
- EVP_MD_type((const EVP_MD *)p2) != NID_sha384 &&
- EVP_MD_type((const EVP_MD *)p2) != NID_sha512) {
- ECerr(EC_F_PKEY_EC_CTRL, EC_R_INVALID_DIGEST_TYPE);
- return 0;
- }
+ // if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_ecdsa_with_SHA1 &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_sha256 &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_sha384 &&
+ // EVP_MD_type((const EVP_MD *)p2) != NID_sha512) {
+ // ECerr(EC_F_PKEY_EC_CTRL, EC_R_INVALID_DIGEST_TYPE);
+ // return 0;
+ // }
dctx->md = p2;
return 1;

+ 10
- 11
spec/resources/ca.crt View File

@@ -1,13 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIB7zCCAXWgAwIBAgIJAKFu2k3vOIffMAoGCCqGSM49BAMEMBIxEDAOBgNVBAMM
B3Rlc3QtY2EwHhcNMTcwMTIyMTg1NTUxWhcNMTgwMTIyMTg1NTUxWjASMRAwDgYD
VQQDDAd0ZXN0LWNhMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEhVE2pSx4GG922yqA
z0W0usG8dFdY4qtTD5mwwBzRhu9NegzQmaE5oHNzQrQE8v0/ShrSHNdID6Phty9K
lPYoenUmpH0sdJDqQ5cVUDkmw0+f+XpROtCiBcN8kTmiVXQ5o4GWMIGTMA8GA1Ud
EwEB/wQFMAMBAf8wCwYDVR0PBAQDAgL0MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggr
BgEFBQcDAjAdBgNVHQ4EFgQU2saIfk29nr+adaNemnS2AaNjXJEwHwYDVR0jBBgw
FoAU2saIfk29nr+adaNemnS2AaNjXJEwFAYDVR0RBA0wC4IJbG9jYWxob3N0MAoG
CCqGSM49BAMEA2gAMGUCMQCzxeexb5HauoM8OQPBK7MWxzganLfVoi1GCsbvjUQy
AB8AAVijIPwT/MGcigge4z8CMFimJXl934AtL8iM+Jd9ykvNXXxzSn9YRm9aLD3K
w6vam+k+gA4sdijDbRC/Tc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spec/resources/ecdsa-brainpoolP384r1.crt View File

@@ -0,0 +1,13 @@
-----BEGIN CERTIFICATE-----
MIIB7DCCAXKgAwIBAwIJALTXGe8d5mhaMAoGCCqGSM49BAMEMBcxFTATBgNVBAMM
DGludGVybWVkaWF0ZTAeFw0wMDAxMDEwMDAwMDBaFw0wMTAxMDEwMDAwMDBaMBAx
DjAMBgNVBAMMBWVjZHNhMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABIiO142r
cv9Tz6PTp/Jhr3ohNMkZ5TjA+nsOyRbFLBxs+MguJthE/QtrwgyRDHtvEl2oJpGU
ExAtgnCi1q3GcjLrcbT8Zho5u5PLjqr9KdyWh7ouwufm4mAkkcRSOwexGaOBjDCB
iTAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAWBgNVHSUBAf8EDDAKBggr
BgEFBQcDATARBglghkgBhvhCAQEEBAMCBkAwHQYDVR0OBBYEFP31WrC65Yw3JWl5
k4z+1MPji2HOMB8GA1UdIwQYMBaAFAB4UqCZH5FLhLpoZoaOUD/k9YP7MAoGCCqG
SM49BAMEA2gAMGUCMQDpPfanlncn4nDqMB0d4mq3NLpE8aMP+9ugAzKomfyK0TkB
w5X54IdJ0gXci9MdJLoCMCacRwcRNQKmk843/aQbLQla+g+pr0Hhs13iHtulFG1M
+m0NNmS5fhNFFXWzq6nq4Q==
-----END CERTIFICATE-----

+ 14
- 0
spec/resources/ecdsa-brainpoolP512r1.crt View File

@@ -0,0 +1,14 @@
-----BEGIN CERTIFICATE-----
MIICDTCCAZSgAwIBAwIJAKHV+4wDmpfrMAoGCCqGSM49BAMEMBcxFTATBgNVBAMM
DGludGVybWVkaWF0ZTAeFw0wMDAxMDEwMDAwMDBaFw0wMTAxMDEwMDAwMDBaMBAx
DjAMBgNVBAMMBWVjZHNhMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAETU4L
RaMd+CLdfZABdjY3Wk3VcvkO135O9rKoCsFvzW3tCNPTLy6TJ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EUxt1qBVxEvl7oKEz84z7YX
bzEOH+we/5yabN7XXQIxAOtPQAOt1c/oPFbvucY4YcyTGudbkd415PSbnY8r0GnF
zzJLr8jwEpZhqDqYo2qASg==
-----END CERTIFICATE-----

+ 12
- 0
spec/resources/ecdsa-prime256v1.crt View File

@@ -0,0 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIByzCCAVGgAwIBAwIJAMeS8IDc/lmbMAoGCCqGSM49BAMEMBcxFTATBgNVBAMM
DGludGVybWVkaWF0ZTAeFw0wMDAxMDEwMDAwMDBaFw0wMTAxMDEwMDAwMDBaMBAx
DjAMBgNVBAMMBWVjZHNhMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEz/BWOEKE
xDBUxv4k9QEWUtFgAVxMPVz9tDwY3JXgiK4E7hlWJwzeH4kTQ7vDzwCKNOwO+y6Y
8KKPYuUeT7UlKKOBjDCBiTAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAW
BgNVHSUBAf8EDDAKBggrBgEFBQcDATARBglghkgBhvhCAQEEBAMCBkAwHQYDVR0O
BBYEFGeM4UHnDNjeBalqpCPL8NqBK2pMMB8GA1UdIwQYMBaAFAB4UqCZH5FLhLpo
ZoaOUD/k9YP7MAoGCCqGSM49BAMEA2gAMGUCMFXt4/1sekantuaN3W3jcSn/bngN
zGfT3MWpfFJ/8qK7VWY6bwQ4EoXw7QkIt0dTqgIxAILGucxtGr6A/CxYCooB8jPH
Z87CYJy9bFjfAbv2ApcqvFycs92yME6AebsKKrVgpg==
-----END CERTIFICATE-----

+ 12
- 0
spec/resources/ecdsa-secp256k1.crt View File

@@ -0,0 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIByDCCAU6gAwIBAwIJANprzzZg6AHxMAoGCCqGSM49BAMEMBcxFTATBgNVBAMM
DGludGVybWVkaWF0ZTAeFw0wMDAxMDEwMDAwMDBaFw0wMTAxMDEwMDAwMDBaMBAx
DjAMBgNVBAMMBWVjZHNhMFYwE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IKoZIzj0E
AwQDaQAwZgIxAIkh6xE41g15p5E/lpSUWDhofFVRsxaIX+Uk9v8+0NZRFTSAQ6mI
aQbQqd4za7MiPQIxANGjaL2H//Gm1WvqZ2Ej66ZmYh+bdV5MK3DdgLbMX67UrdJq
rDtcfdXyHfhxneNJNQ==
-----END CERTIFICATE-----

+ 14
- 0
spec/resources/ecdsa-secp521r1.crt View File

@@ -0,0 +1,14 @@
-----BEGIN CERTIFICATE-----
MIICDzCCAZSgAwIBAwIJAJKnWaLDsHmbMAoGCCqGSM49BAMEMBcxFTATBgNVBAMM
DGludGVybWVkaWF0ZTAeFw0wMDAxMDEwMDAwMDBaFw0wMTAxMDEwMDAwMDBaMBAx
DjAMBgNVBAMMBWVjZHNhMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAXpCE3Hta
PqnG21p5aKXM/iRAsqL80WQ8vU3yjs3Vo7JY9gmeK9cG3bEBh5ZkeTI6RM2KOU/d
ZaI85CgXBP3ITSYBYdF0Yvt4IQadWYcEAJh4OWV5YYB7GezpKBYa+7b41XTah4WX
NAKzlsGnBD2/Ia1inNbmqt+vBiwY+zPzq7OlGRKjgYwwgYkwDAYDVR0TAQH/BAIw
ADAOBgNVHQ8BAf8EBAMCB4AwFgYDVR0lAQH/BAwwCgYIKwYBBQUHAwEwEQYJYIZI
AYb4QgEBBAQDAgZAMB0GA1UdDgQWBBTOnqsJXwUmyKTluwMDC421HLZQOjAfBgNV
HSMEGDAWgBQAeFKgmR+RS4S6aGaGjlA/5PWD+zAKBggqhkjOPQQDBANpADBmAjEA
pjb+OcGjt/XWPgF/o4eYXadjaRWEnK05YRlqoCz9GO70OeYGDZRTM/A6CfcNY70l
AjEA8/zaj035DO9L8kUW5EGTCEdXafOsdWHVPcLmDvShRcG04iDYn8ImaLXp/v9q
NBg5
-----END CERTIFICATE-----

+ 12
- 0
spec/resources/ecdsa-sect283k1.crt View File

@@ -0,0 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIBzzCCA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

+ 13
- 0
spec/resources/ecdsa-sect409r1.crt View File

@@ -0,0 +1,13 @@
-----BEGIN CERTIFICATE-----
MIIB8DCCAXagAwIBAwIJAJ38kUuZF8j2MAoGCCqGSM49BAMEMBcxFTATBgNVBAMM
DGludGVybWVkaWF0ZTAeFw0wMDAxMDEwMDAwMDBaFw0wMTAxMDEwMDAwMDBaMBAx
DjAMBgNVBAMMBWVjZHNhMH4wEAYHKoZIzj0CAQYFK4EEACUDagAEAYy6o9uvpmAL
hK2BTEwFprF9F8CYiPDP8XIw4LofUylpQ/UC2Y1Z9CU3/OI7P8F4JTNesQAiCZg/
YX1We4S5oUQeo2VaQpVXMaHjF6gAOCq/5dwKRIVVkF3egeADZnGuaQALRWektymj
gYwwgYkwDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCB4AwFgYDVR0lAQH/BAww
CgYIKwYBBQUHAwEwEQYJYIZIAYb4QgEBBAQDAgZAMB0GA1UdDgQWBBRncOAhq+yH
7Hn4FDP50cd+UdSAEjAfBgNVHSMEGDAWgBQAeFKgmR+RS4S6aGaGjlA/5PWD+zAK
BggqhkjOPQQDBANoADBlAjEAonxF9gvSeYxNxwBQmc+tf1T1kQUJGX27dak0gfu7
5jWip9aG6h4++M48zpGH83HmAjBVp2Ya2yIHIBrBrdkmhQReePzgb4rDnhCQMgyC
NDxUr8/g8zWOxE9ZurAcXC4eE/4=
-----END CERTIFICATE-----

+ 14
- 0
spec/resources/ecdsa-sect571k1.crt View File

@@ -0,0 +1,14 @@
-----BEGIN CERTIFICATE-----
MIICGjCCAaCgAwIBAwIJAKDFLBGhFzlYMAoGCCqGSM49BAMEMBcxFTATBgNVBAMM
DGludGVybWVkaWF0ZTAeFw0wMDAxMDEwMDAwMDBaFw0wMTAxMDEwMDAwMDBaMBAx
DjAMBgNVBAMMBWVjZHNhMIGnMBAGByqGSM49AgEGBSuBBAAmA4GSAAQH2rvw88SM
+Oeo2tr+X4BjAj9DBdY3xTLgPmhCXMpG3DBX89F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SGG8wVN5TEcxdGxS77PdfBMkwHwYDVR0jBBgwFoAUAHhSoJkfkUuEumhm
ho5QP+T1g/swCwYJKoZIhvcNAQEEA2gAMGUCMQDzEZ7wUy1SUcNGlIhl/cADzAmy
s6A8SAYGioGiRRBIvONpY2Qj8x6GwrONYo7O0e0CMECcT7ztjyNgwZOJvF0nFlW/
72ax0jHmDKDn06sIaNF5nkqLiHVBPbByQl8OLBBulw==
-----END CERTIFICATE-----

+ 13
- 0
spec/resources/must-staple.crt View File

@@ -0,0 +1,13 @@
-----BEGIN CERTIFICATE-----
MIIB5DCCAWmgAwIBAwIJANbDvMZ8+NGNMAoGCCqGSM49BAMEMBcxFTATBgNVBAMM
DGludGVybWVkaWF0ZTAeFw0wMDAxMDEwMDAwMDBaFw0wMTAxMDEwMDAwMDBaMBYx
FDASBgNVBAMMC211c3Qtc3RhcGxlMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE
vBVPSoUh7qsJcsfSjTISKh+4jaaHadnQpqEMW8iRScVAcz6xnFnz6iukLhJFYXd6
du0lthPwV5uMrhSfu/6b1aOBnjCBmzAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQE
AwIHgDAWBgNVHSUBAf8EDDAKBggrBgEFBQcDATARBglghkgBhvhCAQEEBAMCBkAw
HQYDVR0OBBYEFFBrn72mWwzWPz1VE+KVZbvTMM4nMB8GA1UdIwQYMBaAFAB4UqCZ
H5FLhLpoZoaOUD/k9YP7MBAGCCsGAQUFBwEYAQH/BAEwMAoGCCqGSM49BAMEA2kA
MGYCMQDW0qQqcjmNrEvH8nmNwuPEHNOcbbhNXD/mGMaU7rnkdL8hZTvYInn8m00F
qzUaw1gCMQDT2OmQef8B9Z3wRtZUUd8u4KA89rWRwbU0PQDHaMNMZEKzY8Zdp6Ho
HYneKFKDSI4=
-----END CERTIFICATE-----

+ 14
- 0
spec/resources/rsa-1024.crt View File

@@ -0,0 +1,14 @@
-----BEGIN CERTIFICATE-----
MIICETCCAZigAw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eD8MB8GA1UdIwQYMBaAFAB4UqCZH5FL
hLpoZoaOUD/k9YP7MAoGCCqGSM49BAMEA2cAMGQCMGFkcij1XcYqBeB5D07XCyGs
KvSrmFetcgV0+RRAhpqmOIaFBAMYJcEipVWcKlJ/PgIwfl48Znn7w6fgUQvFFV30
zodBiwxxW/qpM1CgA0dvEB9/0T3KOIrvIp/MimpOfA18
-----END CERTIFICATE-----

+ 13
- 0
spec/resources/rsa-768.crt View File

@@ -0,0 +1,13 @@
-----BEGIN CERTIFICATE-----
MIIB7jCCAXSgAwIBAwIJAOpKX9r4hq3tMAoGCCqGSM49BAMEMBcxFTATBgNVBAMM
DGludGVybWVkaWF0ZTAeFw0wMDAxMDEwMDAwMDBaFw0wMTAxMDEwMDAwMDBaMBAx
DjAMBgNVBAMMBWVjZHNhMHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAK1LlPCnGDTs
l20PBthCFmheQrsIacDJ9QovffGtRCGO7O8L2J/i89MWP5cNRZKWSPdbt5RrOhxt
KadRc8BZRWi2Kkj/Bhf25ccedjaPWdjLA2Nqfhyarzi3VAzzNHOOvQIDAQABo4GM
MIGJMAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMBYGA1UdJQEB/wQMMAoG
CCsGAQUFBwMBMBEGCWCGSAGG+EIBAQQEAwIGQDAdBgNVHQ4EFgQUeKpPPmQi5EFx
/ya9A8eDnuLEOnwwHwYDVR0jBBgwFoAUAHhSoJkfkUuEumhmho5QP+T1g/swCgYI
KoZIzj0EAwQDaAAwZQIwJ6v6If88s1scl/3mhl3Xij1IryBDCnF+I/mJ87OOvaGr
JdF7wtoiaKWq97MGPp+jAjEA1l2Vb1le7Ou/UMRfj7zBMEMRjUsQYYOfFNkgdY7o
J/nZhrFsEYodMMQjKrJq5r/g
-----END CERTIFICATE-----

+ 10
- 11
spec/resources/self-signed.crt View File

@@ -1,13 +1,12 @@
-----BEGIN CERTIFICATE-----
MIICBjCCAYugAwIBAgIJAPnnJn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