diff --git a/examples/tls-bundle.pem b/examples/tls-bundle.pem deleted file mode 100644 index c8b6d30..0000000 --- a/examples/tls-bundle.pem +++ /dev/null @@ -1,47 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDIzCCAgugAwIBAgIUVyUIITgu0+by4ASAy3b9vOM+B2wwDQYJKoZIhvcNAQEL -BQAwHzEdMBsGA1UEAxMUa2F3aXBpa28udm9sdXRpb24ucm8wIBcNMTkwODE0MTUw -OTEzWhgPMjA1OTA4MTQxNTA5MTNaMB8xHTAbBgNVBAMTFGthd2lwaWtvLnZvbHV0 -aW9uLnJvMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvo6I70Xe87KO -aj764hlWEcAWWaEnBmzMgJtOiAgFfG6B3vMuSE84Ro7a0uqVwkHqhYOrE66jFBo8 -moPBOBABovVpDtNGjWGE+xFqf609MEuWloDNu4d6wgBjdjcXfZZ6KYcsfsctcoRe -eYljgujx+lvRgORKS4nWnOOyY3O9wJRMxa3ITkRfVUwlQgampKKcIk3iXdRqdAOt -ws6TO3VTwVZ1poDDSyYcKTW6aQoQmsOCDEgQh+pyYQJSVIEqiFP32cjq43opHonf -OpykAiL2e7MiRYJur5E5xH2ZmT9SersPcACMoCu1DiHPJaGvxfl693gf4pgX6rDb -PWTNJqWpqwIDAQABo1UwUzAMBgNVHRMBAf8EAjAAMBMGA1UdJQQMMAoGCCsGAQUF -BwMBMA8GA1UdDwEB/wQFAwMHoAAwHQYDVR0OBBYEFPDjABVCI490LdvHPeotzNq3 -xa9KMA0GCSqGSIb3DQEBCwUAA4IBAQA0cYKpYneOgBRGL/5q86g17qGOrQOWjdDr -1k7i817pBjIfRj9bm1n2iaSrC4GCt4Ok+hl/DyjPNDDUXZxEmfmxlugi6dKLPQp9 -p30hlTB7E3ArHKkWXYGo19URewAUYOMEIR1lB5/RS21rnpUKHawrwi9pZHTwYQ5Q -QcnpA9/FvCbPo8gb9kPAuDyj39tdzzgNK/Xvj8ym9RhUb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IJZaviGn68jY175bRRDAb2wKBgQDTrykGt8gfACmSBZcULkaXCDqT0nfnWccx -OHuimbIDgSU0Q/KJA9P0pSbtL/2rUXEnZpUJ0oDDEi0MpBkSX3Tb3U959aY97hXK -arHI0iziUcW1ZZ2XGO5KtRviQ0D5CKZWR1Ttjm1oCJkmxAag070CF/UdcTGEizrK -OeI7o1l6cQKBgBo21z3ON0ctLBp4shIcvLsPKCAfQNx8Y4LPEUk6uOSBtgOETVsW -60mzsafvGcgEYU1/RnCRUsDNDIxaRgwKglYU2XL+JR1Lipeubyb+sLGYugUTwo4f -3NyIH8LBseOFasLY7+V/X65jPy5vQX5UJGALXpPDIcMhEFecVHyjlBFnAoGABtWs -+W6No5KZxQExM5Ga7d1yJruw62NWrxwnwcQ8nyhYTyuydQIOoeODMj1Ob22dvavu -O/bz+Vho4/OYa6NxXnfyzPlFeNJrGbIAM3+1u0jwnT6+q9Y+O2NFlzScsG27ESYU -c+cZWTaN21aQ8Dhl7d9gJqc09haYu1bLGynXBcECgYEAsxgIbbO3CtxPfqgtJrAo -eRPPLX7UOdXmarOBYFL+jsG5SWSyECqKDgkjyeQFVqHzK+W4k654TobZoMUhDIUL -GeNAoNAIjPciush/0yYI8w3EybHIkB6JSi4LyhWBQazGaAr3Ai0NHbKt3ZzcOM1D -azCipM9H6CJO+MjoG+S53Xo= ------END PRIVATE KEY----- diff --git a/examples/tls-bundle.pem b/examples/tls-bundle.pem new file mode 120000 index 0000000..ae3ecb5 --- /dev/null +++ b/examples/tls-bundle.pem @@ -0,0 +1 @@ +./tls/rsa/testing--server--rsa--bundle.pem \ No newline at end of file diff --git a/examples/tls-private.pem b/examples/tls-private.pem deleted file mode 100644 index 28c676c..0000000 --- a/examples/tls-private.pem +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC+jojvRd7zso5q -PvriGVYRwBZZoScGbMyAm06ICAV8boHe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safvGcgEYU1/RnCRUsDNDIxaRgwKglYU2XL+JR1Lipeubyb+sLGYugUTwo4f -3NyIH8LBseOFasLY7+V/X65jPy5vQX5UJGALXpPDIcMhEFecVHyjlBFnAoGABtWs -+W6No5KZxQExM5Ga7d1yJruw62NWrxwnwcQ8nyhYTyuydQIOoeODMj1Ob22dvavu -O/bz+Vho4/OYa6NxXnfyzPlFeNJrGbIAM3+1u0jwnT6+q9Y+O2NFlzScsG27ESYU -c+cZWTaN21aQ8Dhl7d9gJqc09haYu1bLGynXBcECgYEAsxgIbbO3CtxPfqgtJrAo -eRPPLX7UOdXmarOBYFL+jsG5SWSyECqKDgkjyeQFVqHzK+W4k654TobZoMUhDIUL -GeNAoNAIjPciush/0yYI8w3EybHIkB6JSi4LyhWBQazGaAr3Ai0NHbKt3ZzcOM1D -azCipM9H6CJO+MjoG+S53Xo= ------END PRIVATE KEY----- diff --git a/examples/tls-private.pem b/examples/tls-private.pem new file mode 120000 index 0000000..84191ea --- /dev/null +++ b/examples/tls-private.pem @@ -0,0 +1 @@ +./tls/rsa/testing--server--rsa--private-key.pem \ No newline at end of file diff --git a/examples/tls-public.pem b/examples/tls-public.pem deleted file mode 100644 index 3c7ca52..0000000 --- a/examples/tls-public.pem +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDIzCCAgugAwIBAgIUVyUIITgu0+by4ASAy3b9vOM+B2wwDQYJKoZIhvcNAQEL -BQAwHzEdMBsGA1UEAxMUa2F3aXBpa28udm9sdXRpb24ucm8wIBcNMTkwODE0MTUw -OTEzWhgPMjA1OTA4MTQxNTA5MTNaMB8xHTAbBgNVBAMTFGthd2lwaWtvLnZvbHV0 -aW9uLnJvMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvo6I70Xe87KO -aj764hlWEcAWWaEnBmzMgJtOiAgFfG6B3vMuSE84Ro7a0uqVwkHqhYOrE66jFBo8 -moPBOBABovVpDtNGjWGE+xFqf609MEuWloDNu4d6wgBjdjcXfZZ6KYcsfsctcoRe -eYljgujx+lvRgORKS4nWnOOyY3O9wJRMxa3ITkRfVUwlQgampKKcIk3iXdRqdAOt -ws6TO3VTwVZ1poDDSyYcKTW6aQoQmsOCDEgQh+pyYQJSVIEqiFP32cjq43opHonf -OpykAiL2e7MiRYJur5E5xH2ZmT9SersPcACMoCu1DiHPJaGvxfl693gf4pgX6rDb -PWTNJqWpqwIDAQABo1UwUzAMBgNVHRMBAf8EAjAAMBMGA1UdJQQMMAoGCCsGAQUF -BwMBMA8GA1UdDwEB/wQFAwMHoAAwHQYDVR0OBBYEFPDjABVCI490LdvHPeotzNq3 -xa9KMA0GCSqGSIb3DQEBCwUAA4IBAQA0cYKpYneOgBRGL/5q86g17qGOrQOWjdDr -1k7i817pBjIfRj9bm1n2iaSrC4GCt4Ok+hl/DyjPNDDUXZxEmfmxlugi6dKLPQp9 -p30hlTB7E3ArHKkWXYGo19URewAUYOMEIR1lB5/RS21rnpUKHawrwi9pZHTwYQ5Q -QcnpA9/FvCbPo8gb9kPAuDyj39tdzzgNK/Xvj8ym9RhUbTtBgbWujRCIWU0L6bfl -i7DLfJoPSK+s6S5YGr88VAz0y9zAGD/2wGq9R1hUSDw0OfMgEm9GoSz6FpXKKBtl -M01bP11akztK8sWChdels4OXOsPQ1SdF2XE4od82cm6lA8IgE1hY ------END CERTIFICATE----- diff --git a/examples/tls-public.pem b/examples/tls-public.pem new file mode 120000 index 0000000..29f0201 --- /dev/null +++ b/examples/tls-public.pem @@ -0,0 +1 @@ +./tls/rsa/testing--server--rsa--certificate.pem \ No newline at end of file diff --git a/examples/tls/conf/self-signed--any--certificate.conf b/examples/tls/conf/self-signed--any--certificate.conf new file mode 100644 index 0000000..1516355 --- /dev/null +++ b/examples/tls/conf/self-signed--any--certificate.conf @@ -0,0 +1,291 @@ + +cn = "kawipiko-self-signed" + +tls_www_server +signing_key +encryption_key + +activation_date = "2020-01-01 00:00:00 UTC" +expiration_date = "2040-12-31 23:59:59 UTC" +serial = 1 + + +dns_name = "kawipiko" +dns_name = "*.kawipiko" + +dns_name = "localhost" +dns_name = "*.localhost" + +dns_name = "test" +dns_name = "*.test" + +dns_name = "example" +dns_name = "*.example" +dns_name = "example.com" +dns_name = "*.example.com" +dns_name = "example.net" +dns_name = "*.example.net" +dns_name = "example.org" +dns_name = "*.example.org" + +dns_name = "invalid" +dns_name = "*.invalid" + +ip_address = "127.0.0.0" +ip_address = "127.0.0.1" +ip_address = "127.0.0.2" +ip_address = "127.0.0.3" +ip_address = "127.0.0.4" +ip_address = "127.0.0.5" +ip_address = "127.0.0.6" +ip_address = "127.0.0.7" +ip_address = "127.0.0.8" +ip_address = "127.0.0.9" +ip_address = "127.0.0.10" +ip_address = "127.0.0.11" +ip_address = "127.0.0.12" +ip_address = "127.0.0.13" +ip_address = "127.0.0.14" +ip_address = "127.0.0.15" +ip_address = "127.0.0.16" +ip_address = "127.0.0.17" +ip_address = "127.0.0.18" +ip_address = "127.0.0.19" +ip_address = "127.0.0.20" +ip_address = "127.0.0.21" +ip_address = "127.0.0.22" +ip_address = "127.0.0.23" +ip_address = "127.0.0.24" +ip_address = "127.0.0.25" +ip_address = "127.0.0.26" +ip_address = "127.0.0.27" +ip_address = "127.0.0.28" +ip_address = "127.0.0.29" +ip_address = "127.0.0.30" +ip_address = "127.0.0.31" +ip_address = "127.0.0.32" +ip_address = "127.0.0.33" +ip_address = "127.0.0.34" +ip_address = "127.0.0.35" +ip_address = "127.0.0.36" +ip_address = "127.0.0.37" +ip_address = "127.0.0.38" +ip_address = "127.0.0.39" +ip_address = "127.0.0.40" +ip_address = "127.0.0.41" +ip_address = "127.0.0.42" +ip_address = "127.0.0.43" +ip_address = "127.0.0.44" +ip_address = "127.0.0.45" +ip_address = "127.0.0.46" +ip_address = "127.0.0.47" +ip_address = "127.0.0.48" +ip_address = "127.0.0.49" +ip_address = "127.0.0.50" +ip_address = "127.0.0.51" +ip_address = "127.0.0.52" +ip_address = "127.0.0.53" +ip_address = "127.0.0.54" +ip_address = "127.0.0.55" +ip_address = "127.0.0.56" +ip_address = "127.0.0.57" +ip_address = "127.0.0.58" +ip_address = "127.0.0.59" +ip_address = "127.0.0.60" +ip_address = "127.0.0.61" +ip_address = "127.0.0.62" +ip_address = "127.0.0.63" +ip_address = "127.0.0.64" +ip_address = "127.0.0.65" +ip_address = "127.0.0.66" +ip_address = "127.0.0.67" +ip_address = "127.0.0.68" +ip_address = "127.0.0.69" +ip_address = "127.0.0.70" +ip_address = "127.0.0.71" +ip_address = "127.0.0.72" +ip_address = "127.0.0.73" +ip_address = "127.0.0.74" +ip_address = "127.0.0.75" +ip_address = "127.0.0.76" +ip_address = "127.0.0.77" +ip_address = "127.0.0.78" +ip_address = "127.0.0.79" +ip_address = "127.0.0.80" +ip_address = "127.0.0.81" +ip_address = "127.0.0.82" +ip_address = "127.0.0.83" +ip_address = "127.0.0.84" +ip_address = "127.0.0.85" +ip_address = "127.0.0.86" +ip_address = "127.0.0.87" +ip_address = "127.0.0.88" +ip_address = "127.0.0.89" +ip_address = "127.0.0.90" +ip_address = "127.0.0.91" +ip_address = "127.0.0.92" +ip_address = "127.0.0.93" +ip_address = "127.0.0.94" +ip_address = "127.0.0.95" +ip_address = "127.0.0.96" +ip_address = "127.0.0.97" +ip_address = "127.0.0.98" +ip_address = "127.0.0.99" +ip_address = "127.0.0.100" +ip_address = "127.0.0.101" +ip_address = "127.0.0.102" +ip_address = "127.0.0.103" +ip_address = "127.0.0.104" +ip_address = "127.0.0.105" +ip_address = "127.0.0.106" +ip_address = "127.0.0.107" +ip_address = "127.0.0.108" +ip_address = "127.0.0.109" +ip_address = "127.0.0.110" +ip_address = "127.0.0.111" +ip_address = "127.0.0.112" +ip_address = "127.0.0.113" +ip_address = "127.0.0.114" +ip_address = "127.0.0.115" +ip_address = "127.0.0.116" +ip_address = "127.0.0.117" +ip_address = "127.0.0.118" +ip_address = "127.0.0.119" +ip_address = "127.0.0.120" +ip_address = "127.0.0.121" +ip_address = "127.0.0.122" +ip_address = "127.0.0.123" +ip_address = "127.0.0.124" +ip_address = "127.0.0.125" +ip_address = "127.0.0.126" +ip_address = "127.0.0.127" +ip_address = "127.0.0.128" +ip_address = "127.0.0.129" +ip_address = "127.0.0.130" +ip_address = "127.0.0.131" +ip_address = "127.0.0.132" +ip_address = "127.0.0.133" +ip_address = "127.0.0.134" +ip_address = "127.0.0.135" +ip_address = "127.0.0.136" +ip_address = "127.0.0.137" +ip_address = "127.0.0.138" +ip_address = "127.0.0.139" +ip_address = "127.0.0.140" +ip_address = "127.0.0.141" +ip_address = "127.0.0.142" +ip_address = "127.0.0.143" +ip_address = "127.0.0.144" +ip_address = "127.0.0.145" +ip_address = "127.0.0.146" +ip_address = "127.0.0.147" +ip_address = "127.0.0.148" +ip_address = "127.0.0.149" +ip_address = "127.0.0.150" +ip_address = "127.0.0.151" +ip_address = "127.0.0.152" +ip_address = "127.0.0.153" +ip_address = "127.0.0.154" +ip_address = "127.0.0.155" +ip_address = "127.0.0.156" +ip_address = "127.0.0.157" +ip_address = "127.0.0.158" +ip_address = "127.0.0.159" +ip_address = "127.0.0.160" +ip_address = "127.0.0.161" +ip_address = "127.0.0.162" +ip_address = "127.0.0.163" +ip_address = "127.0.0.164" +ip_address = "127.0.0.165" +ip_address = "127.0.0.166" +ip_address = "127.0.0.167" +ip_address = "127.0.0.168" +ip_address = "127.0.0.169" +ip_address = "127.0.0.170" +ip_address = "127.0.0.171" +ip_address = "127.0.0.172" +ip_address = "127.0.0.173" +ip_address = "127.0.0.174" +ip_address = "127.0.0.175" +ip_address = "127.0.0.176" +ip_address = "127.0.0.177" +ip_address = "127.0.0.178" +ip_address = "127.0.0.179" +ip_address = "127.0.0.180" +ip_address = "127.0.0.181" +ip_address = "127.0.0.182" +ip_address = "127.0.0.183" +ip_address = "127.0.0.184" +ip_address = "127.0.0.185" +ip_address = "127.0.0.186" +ip_address = "127.0.0.187" +ip_address = "127.0.0.188" +ip_address = "127.0.0.189" +ip_address = "127.0.0.190" +ip_address = "127.0.0.191" +ip_address = "127.0.0.192" +ip_address = "127.0.0.193" +ip_address = "127.0.0.194" +ip_address = "127.0.0.195" +ip_address = "127.0.0.196" +ip_address = "127.0.0.197" +ip_address = "127.0.0.198" +ip_address = "127.0.0.199" +ip_address = "127.0.0.200" +ip_address = "127.0.0.201" +ip_address = "127.0.0.202" +ip_address = "127.0.0.203" +ip_address = "127.0.0.204" +ip_address = "127.0.0.205" +ip_address = "127.0.0.206" +ip_address = "127.0.0.207" +ip_address = "127.0.0.208" +ip_address = "127.0.0.209" +ip_address = "127.0.0.210" +ip_address = "127.0.0.211" +ip_address = "127.0.0.212" +ip_address = "127.0.0.213" +ip_address = "127.0.0.214" +ip_address = "127.0.0.215" +ip_address = "127.0.0.216" +ip_address = "127.0.0.217" +ip_address = "127.0.0.218" +ip_address = "127.0.0.219" +ip_address = "127.0.0.220" +ip_address = "127.0.0.221" +ip_address = "127.0.0.222" +ip_address = "127.0.0.223" +ip_address = "127.0.0.224" +ip_address = "127.0.0.225" +ip_address = "127.0.0.226" +ip_address = "127.0.0.227" +ip_address = "127.0.0.228" +ip_address = "127.0.0.229" +ip_address = "127.0.0.230" +ip_address = "127.0.0.231" +ip_address = "127.0.0.232" +ip_address = "127.0.0.233" +ip_address = "127.0.0.234" +ip_address = "127.0.0.235" +ip_address = "127.0.0.236" +ip_address = "127.0.0.237" +ip_address = "127.0.0.238" +ip_address = "127.0.0.239" +ip_address = "127.0.0.240" +ip_address = "127.0.0.241" +ip_address = "127.0.0.242" +ip_address = "127.0.0.243" +ip_address = "127.0.0.244" +ip_address = "127.0.0.245" +ip_address = "127.0.0.246" +ip_address = "127.0.0.247" +ip_address = "127.0.0.248" +ip_address = "127.0.0.249" +ip_address = "127.0.0.250" +ip_address = "127.0.0.251" +ip_address = "127.0.0.252" +ip_address = "127.0.0.253" +ip_address = "127.0.0.254" +ip_address = "127.0.0.255" +ip_address = "127.255.255.254" + diff --git a/examples/tls/conf/testing--ca--any--certificate.conf b/examples/tls/conf/testing--ca--any--certificate.conf new file mode 100644 index 0000000..b19d9ba --- /dev/null +++ b/examples/tls/conf/testing--ca--any--certificate.conf @@ -0,0 +1,30 @@ + +cn = "kawipiko-ca" + +ca + +activation_date = "2020-01-01 00:00:00 UTC" +expiration_date = "2040-12-31 23:59:59 UTC" +serial = 1 + + +nc_permit_dns = kawipiko +nc_permit_dns = localhost +nc_permit_dns = test +nc_permit_dns = example +nc_permit_dns = example.com +nc_permit_dns = example.net +nc_permit_dns = example.org +nc_permit_dns = invalid + +nc_permit_email = kawipiko +nc_permit_email = localhost +nc_permit_email = test +nc_permit_email = example +nc_permit_email = example.com +nc_permit_email = example.net +nc_permit_email = example.org +nc_permit_email = invalid + +nc_permit_ip = 127.0.0.0/8 + diff --git a/examples/tls/conf/testing--client--any--certificate.conf b/examples/tls/conf/testing--client--any--certificate.conf new file mode 100644 index 0000000..76c1703 --- /dev/null +++ b/examples/tls/conf/testing--client--any--certificate.conf @@ -0,0 +1,11 @@ + +cn = "kawipiko-client" + +tls_www_client +signing_key +encryption_key + +activation_date = "2020-01-01 00:00:00 UTC" +expiration_date = "2040-12-31 23:59:59 UTC" +serial = 3 + diff --git a/examples/tls/conf/testing--server--any--certificate.conf b/examples/tls/conf/testing--server--any--certificate.conf new file mode 100644 index 0000000..ab1aac1 --- /dev/null +++ b/examples/tls/conf/testing--server--any--certificate.conf @@ -0,0 +1,291 @@ + +cn = "kawipiko-server" + +tls_www_server +signing_key +encryption_key + +activation_date = "2020-01-01 00:00:00 UTC" +expiration_date = "2040-12-31 23:59:59 UTC" +serial = 2 + + +dns_name = "kawipiko" +dns_name = "*.kawipiko" + +dns_name = "localhost" +dns_name = "*.localhost" + +dns_name = "test" +dns_name = "*.test" + +dns_name = "example" +dns_name = "*.example" +dns_name = "example.com" +dns_name = "*.example.com" +dns_name = "example.net" +dns_name = "*.example.net" +dns_name = "example.org" +dns_name = "*.example.org" + +dns_name = "invalid" +dns_name = "*.invalid" + +ip_address = "127.0.0.0" +ip_address = "127.0.0.1" +ip_address = "127.0.0.2" +ip_address = "127.0.0.3" +ip_address = "127.0.0.4" +ip_address = "127.0.0.5" +ip_address = "127.0.0.6" +ip_address = "127.0.0.7" +ip_address = "127.0.0.8" +ip_address = "127.0.0.9" +ip_address = "127.0.0.10" +ip_address = "127.0.0.11" +ip_address = "127.0.0.12" +ip_address = "127.0.0.13" +ip_address = "127.0.0.14" +ip_address = "127.0.0.15" +ip_address = "127.0.0.16" +ip_address = "127.0.0.17" +ip_address = "127.0.0.18" +ip_address = "127.0.0.19" +ip_address = "127.0.0.20" +ip_address = "127.0.0.21" +ip_address = "127.0.0.22" +ip_address = "127.0.0.23" +ip_address = "127.0.0.24" +ip_address = "127.0.0.25" +ip_address = "127.0.0.26" +ip_address = "127.0.0.27" +ip_address = "127.0.0.28" +ip_address = "127.0.0.29" +ip_address = "127.0.0.30" +ip_address = "127.0.0.31" +ip_address = "127.0.0.32" +ip_address = "127.0.0.33" +ip_address = "127.0.0.34" +ip_address = "127.0.0.35" +ip_address = "127.0.0.36" +ip_address = "127.0.0.37" +ip_address = "127.0.0.38" +ip_address = "127.0.0.39" +ip_address = "127.0.0.40" +ip_address = "127.0.0.41" +ip_address = "127.0.0.42" +ip_address = "127.0.0.43" +ip_address = "127.0.0.44" +ip_address = "127.0.0.45" +ip_address = "127.0.0.46" +ip_address = "127.0.0.47" +ip_address = "127.0.0.48" +ip_address = "127.0.0.49" +ip_address = "127.0.0.50" +ip_address = "127.0.0.51" +ip_address = "127.0.0.52" +ip_address = "127.0.0.53" +ip_address = "127.0.0.54" +ip_address = "127.0.0.55" +ip_address = "127.0.0.56" +ip_address = "127.0.0.57" +ip_address = "127.0.0.58" +ip_address = "127.0.0.59" +ip_address = "127.0.0.60" +ip_address = "127.0.0.61" +ip_address = "127.0.0.62" +ip_address = "127.0.0.63" +ip_address = "127.0.0.64" +ip_address = "127.0.0.65" +ip_address = "127.0.0.66" +ip_address = "127.0.0.67" +ip_address = "127.0.0.68" +ip_address = "127.0.0.69" +ip_address = "127.0.0.70" +ip_address = "127.0.0.71" +ip_address = "127.0.0.72" +ip_address = "127.0.0.73" +ip_address = "127.0.0.74" +ip_address = "127.0.0.75" +ip_address = "127.0.0.76" +ip_address = "127.0.0.77" +ip_address = "127.0.0.78" +ip_address = "127.0.0.79" +ip_address = "127.0.0.80" +ip_address = "127.0.0.81" +ip_address = "127.0.0.82" +ip_address = "127.0.0.83" +ip_address = "127.0.0.84" +ip_address = "127.0.0.85" +ip_address = "127.0.0.86" +ip_address = "127.0.0.87" +ip_address = "127.0.0.88" +ip_address = "127.0.0.89" +ip_address = "127.0.0.90" +ip_address = "127.0.0.91" +ip_address = "127.0.0.92" +ip_address = "127.0.0.93" +ip_address = "127.0.0.94" +ip_address = "127.0.0.95" +ip_address = "127.0.0.96" +ip_address = "127.0.0.97" +ip_address = "127.0.0.98" +ip_address = "127.0.0.99" +ip_address = "127.0.0.100" +ip_address = "127.0.0.101" +ip_address = "127.0.0.102" +ip_address = "127.0.0.103" +ip_address = "127.0.0.104" +ip_address = "127.0.0.105" +ip_address = "127.0.0.106" +ip_address = "127.0.0.107" +ip_address = "127.0.0.108" +ip_address = "127.0.0.109" +ip_address = "127.0.0.110" +ip_address = "127.0.0.111" +ip_address = "127.0.0.112" +ip_address = "127.0.0.113" +ip_address = "127.0.0.114" +ip_address = "127.0.0.115" +ip_address = "127.0.0.116" +ip_address = "127.0.0.117" +ip_address = "127.0.0.118" +ip_address = "127.0.0.119" +ip_address = "127.0.0.120" +ip_address = "127.0.0.121" +ip_address = "127.0.0.122" +ip_address = "127.0.0.123" +ip_address = "127.0.0.124" +ip_address = "127.0.0.125" +ip_address = "127.0.0.126" +ip_address = "127.0.0.127" +ip_address = "127.0.0.128" +ip_address = "127.0.0.129" +ip_address = "127.0.0.130" +ip_address = "127.0.0.131" +ip_address = "127.0.0.132" +ip_address = "127.0.0.133" +ip_address = "127.0.0.134" +ip_address = "127.0.0.135" +ip_address = "127.0.0.136" +ip_address = "127.0.0.137" +ip_address = "127.0.0.138" +ip_address = "127.0.0.139" +ip_address = "127.0.0.140" +ip_address = "127.0.0.141" +ip_address = "127.0.0.142" +ip_address = "127.0.0.143" +ip_address = "127.0.0.144" +ip_address = "127.0.0.145" +ip_address = "127.0.0.146" +ip_address = "127.0.0.147" +ip_address = "127.0.0.148" +ip_address = "127.0.0.149" +ip_address = "127.0.0.150" +ip_address = "127.0.0.151" +ip_address = "127.0.0.152" +ip_address = "127.0.0.153" +ip_address = "127.0.0.154" +ip_address = "127.0.0.155" +ip_address = "127.0.0.156" +ip_address = "127.0.0.157" +ip_address = "127.0.0.158" +ip_address = "127.0.0.159" +ip_address = "127.0.0.160" +ip_address = "127.0.0.161" +ip_address = "127.0.0.162" +ip_address = "127.0.0.163" +ip_address = "127.0.0.164" +ip_address = "127.0.0.165" +ip_address = "127.0.0.166" +ip_address = "127.0.0.167" +ip_address = "127.0.0.168" +ip_address = "127.0.0.169" +ip_address = "127.0.0.170" +ip_address = "127.0.0.171" +ip_address = "127.0.0.172" +ip_address = "127.0.0.173" +ip_address = "127.0.0.174" +ip_address = "127.0.0.175" +ip_address = "127.0.0.176" +ip_address = "127.0.0.177" +ip_address = "127.0.0.178" +ip_address = "127.0.0.179" +ip_address = "127.0.0.180" +ip_address = "127.0.0.181" +ip_address = "127.0.0.182" +ip_address = "127.0.0.183" +ip_address = "127.0.0.184" +ip_address = "127.0.0.185" +ip_address = "127.0.0.186" +ip_address = "127.0.0.187" +ip_address = "127.0.0.188" +ip_address = "127.0.0.189" +ip_address = "127.0.0.190" +ip_address = "127.0.0.191" +ip_address = "127.0.0.192" +ip_address = "127.0.0.193" +ip_address = "127.0.0.194" +ip_address = "127.0.0.195" +ip_address = "127.0.0.196" +ip_address = "127.0.0.197" +ip_address = "127.0.0.198" +ip_address = "127.0.0.199" +ip_address = "127.0.0.200" +ip_address = "127.0.0.201" +ip_address = "127.0.0.202" +ip_address = "127.0.0.203" +ip_address = "127.0.0.204" +ip_address = "127.0.0.205" +ip_address = "127.0.0.206" +ip_address = "127.0.0.207" +ip_address = "127.0.0.208" +ip_address = "127.0.0.209" +ip_address = "127.0.0.210" +ip_address = "127.0.0.211" +ip_address = "127.0.0.212" +ip_address = "127.0.0.213" +ip_address = "127.0.0.214" +ip_address = "127.0.0.215" +ip_address = "127.0.0.216" +ip_address = "127.0.0.217" +ip_address = "127.0.0.218" +ip_address = "127.0.0.219" +ip_address = "127.0.0.220" +ip_address = "127.0.0.221" +ip_address = "127.0.0.222" +ip_address = "127.0.0.223" +ip_address = "127.0.0.224" +ip_address = "127.0.0.225" +ip_address = "127.0.0.226" +ip_address = "127.0.0.227" +ip_address = "127.0.0.228" +ip_address = "127.0.0.229" +ip_address = "127.0.0.230" +ip_address = "127.0.0.231" +ip_address = "127.0.0.232" +ip_address = "127.0.0.233" +ip_address = "127.0.0.234" +ip_address = "127.0.0.235" +ip_address = "127.0.0.236" +ip_address = "127.0.0.237" +ip_address = "127.0.0.238" +ip_address = "127.0.0.239" +ip_address = "127.0.0.240" +ip_address = "127.0.0.241" +ip_address = "127.0.0.242" +ip_address = "127.0.0.243" +ip_address = "127.0.0.244" +ip_address = "127.0.0.245" +ip_address = "127.0.0.246" +ip_address = "127.0.0.247" +ip_address = "127.0.0.248" +ip_address = "127.0.0.249" +ip_address = "127.0.0.250" +ip_address = "127.0.0.251" +ip_address = "127.0.0.252" +ip_address = "127.0.0.253" +ip_address = "127.0.0.254" +ip_address = "127.0.0.255" +ip_address = "127.255.255.254" + diff --git a/examples/tls/ed25519/self-signed--ed25519--bundle.p12 b/examples/tls/ed25519/self-signed--ed25519--bundle.p12 new file mode 100644 index 0000000..b435101 Binary files /dev/null and b/examples/tls/ed25519/self-signed--ed25519--bundle.p12 differ diff --git a/examples/tls/ed25519/self-signed--ed25519--bundle.pem b/examples/tls/ed25519/self-signed--ed25519--bundle.pem new file mode 100644 index 0000000..b7f1e9b --- /dev/null +++ b/examples/tls/ed25519/self-signed--ed25519--bundle.pem @@ -0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AP4cEfwAAQIcEfwAAQYcEfwAAQocEfwAAQ4cEfwAARIcEfwAARYcEfwAARocE +fwAAR4cEfwAASIcEfwAASYcEfwAASocEfwAAS4cEfwAATIcEfwAATYcEfwAATocE +fwAAT4cEfwAAUIcEfwAAUYcEfwAAUocEfwAAU4cEfwAAVIcEfwAAVYcEfwAAVocE +fwAAV4cEfwAAWIcEfwAAWYcEfwAAWocEfwAAW4cEfwAAXIcEfwAAXYcEfwAAXocE +fwAAX4cEfwAAYIcEfwAAYYcEfwAAYocEfwAAY4cEfwAAZIcEfwAAZYcEfwAAZocE +fwAAZ4cEfwAAaIcEfwAAaYcEfwAAaocEfwAAa4cEfwAAbIcEfwAAbYcEfwAAbocE +fwAAb4cEfwAAcIcEfwAAcYcEfwAAcocEfwAAc4cEfwAAdIcEfwAAdYcEfwAAdocE +fwAAd4cEfwAAeIcEfwAAeYcEfwAAeocEfwAAe4cEfwAAfIcEfwAAfYcEfwAAfocE +fwAAfzATBgNVHSUEDDAKBggrBgEFBQcDATAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0O +BBYEFLfHB6bHoanuRwG+6p8mHYv0krhOMAUGAytlcANBAPy9B5CNv3X2mHr0pG7M +AbzehD740Wdns3F769iLYzX+SJgjFZ9qk8VlRGAsF+y9e9gD1m3i0iwozAtTpe0N +8wg= +-----END CERTIFICATE----- +-----BEGIN PRIVATE KEY----- +MC4CAQAwBQYDK2VwBCIEIJgIs5FrZgFyP1qv84MfkfHTY1ul0joETV26NJozbgrW +-----END PRIVATE KEY----- diff --git a/examples/tls/ed25519/self-signed--ed25519--certificate.pem b/examples/tls/ed25519/self-signed--ed25519--certificate.pem new file mode 100644 index 0000000..a02ccf9 --- /dev/null +++ b/examples/tls/ed25519/self-signed--ed25519--certificate.pem @@ -0,0 +1,30 @@ +-----BEGIN CERTIFICATE----- +MIIFDjCCBMCgAwIBAgIBATAFBgMrZXAwHzEdMBsGA1UEAxMUa2F3aXBpa28tc2Vs +Zi1zaWduZWQwH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EfwAATocE +fwAAT4cEfwAAUIcEfwAAUYcEfwAAUocEfwAAU4cEfwAAVIcEfwAAVYcEfwAAVocE +fwAAV4cEfwAAWIcEfwAAWYcEfwAAWocEfwAAW4cEfwAAXIcEfwAAXYcEfwAAXocE +fwAAX4cEfwAAYIcEfwAAYYcEfwAAYocEfwAAY4cEfwAAZIcEfwAAZYcEfwAAZocE +fwAAZ4cEfwAAaIcEfwAAaYcEfwAAaocEfwAAa4cEfwAAbIcEfwAAbYcEfwAAbocE +fwAAb4cEfwAAcIcEfwAAcYcEfwAAcocEfwAAc4cEfwAAdIcEfwAAdYcEfwAAdocE +fwAAd4cEfwAAeIcEfwAAeYcEfwAAeocEfwAAe4cEfwAAfIcEfwAAfYcEfwAAfocE +fwAAfzATBgNVHSUEDDAKBggrBgEFBQcDATAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0O +BBYEFLfHB6bHoanuRwG+6p8mHYv0krhOMAUGAytlcANBAPy9B5CNv3X2mHr0pG7M +AbzehD740Wdns3F769iLYzX+SJgjFZ9qk8VlRGAsF+y9e9gD1m3i0iwozAtTpe0N +8wg= +-----END CERTIFICATE----- diff --git a/examples/tls/ed25519/self-signed--ed25519--private-key.pem b/examples/tls/ed25519/self-signed--ed25519--private-key.pem new file mode 100644 index 0000000..da80271 --- /dev/null +++ b/examples/tls/ed25519/self-signed--ed25519--private-key.pem @@ -0,0 +1,3 @@ +-----BEGIN PRIVATE KEY----- +MC4CAQAwBQYDK2VwBCIEIJgIs5FrZgFyP1qv84MfkfHTY1ul0joETV26NJozbgrW +-----END PRIVATE KEY----- diff --git a/examples/tls/ed25519/testing--ca--ed25519--certificate.pem b/examples/tls/ed25519/testing--ca--ed25519--certificate.pem new file mode 100644 index 0000000..38675a2 --- /dev/null +++ b/examples/tls/ed25519/testing--ca--ed25519--certificate.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB+TCCAaugAwIBAgIBATAFBgMrZXAwFjEUMBIGA1UEAxMLa2F3aXBpa28tY2Ew +HhcNMjAwMTAxMDAwMDAwWhcNNDAxMjMxMjM1OTU5WjAWMRQwEgYDVQQDEwtrYXdp +cGlrby1jYTAqMAUGAytlcAMhAG7iAxaqyOj/Yckknf09zbMt1ABMqJINuxs78UeE +GYato4IBHDCCARgwDwYDVR0TAQH/BAUwAwEB/zCB5QYDVR0eAQH/BIHaMIHXoIHU +MAqHCH8AAAD/AAAAMAqCCGthd2lwaWtvMAuCCWxvY2FsaG9zdDAGggR0ZXN0MAmC +B2V4YW1wbGUwDYILZXhhbXBsZS5jb20wDYILZXhhbXBsZS5uZXQwDYILZXhhbXBs +ZS5vcmcwCYIHaW52YWxpZDAKgQhrYXdpcGlrbzALgQlsb2NhbGhvc3QwBoEEdGVz +dDAJgQdleGFtcGxlMA2BC2V4YW1wbGUuY29tMA2BC2V4YW1wbGUubmV0MA2BC2V4 +YW1wbGUub3JnMAmBB2ludmFsaWQwHQYDVR0OBBYEFNBVyhfrfaWPG/bQaHw0BL/V +Viq3MAUGAytlcANBAJQ1/xxifLV25+92zUki6efxjrDzKQ50WmK7vjMcFTrvPSg0 +K43TIK6/bV2YWAiAOTCdBjVYGhlF6tiPEeuingo= +-----END CERTIFICATE----- diff --git a/examples/tls/ed25519/testing--ca--ed25519--private-key.pem b/examples/tls/ed25519/testing--ca--ed25519--private-key.pem new file mode 100644 index 0000000..eb21158 --- /dev/null +++ b/examples/tls/ed25519/testing--ca--ed25519--private-key.pem @@ -0,0 +1,3 @@ +-----BEGIN PRIVATE KEY----- +MC4CAQAwBQYDK2VwBCIEIJvyMl+mQiRKtt6hi7rtAE2aaYUAflweecnKjZSxaLRS +-----END PRIVATE KEY----- diff --git a/examples/tls/ed25519/testing--client--ed25519--bundle.p12 b/examples/tls/ed25519/testing--client--ed25519--bundle.p12 new file mode 100644 index 0000000..5ddd3b7 Binary files /dev/null and b/examples/tls/ed25519/testing--client--ed25519--bundle.p12 differ diff --git a/examples/tls/ed25519/testing--client--ed25519--bundle.pem b/examples/tls/ed25519/testing--client--ed25519--bundle.pem new file mode 100644 index 0000000..bf3072b --- /dev/null +++ b/examples/tls/ed25519/testing--client--ed25519--bundle.pem @@ -0,0 +1,26 @@ +-----BEGIN CERTIFICATE----- +MIIBVDCCAQagAwIBAgIBAzAFBgMrZXAwFjEUMBIGA1UEAxMLa2F3aXBpa28tY2Ew +HhcNMjAwMTAxMDAwMDAwWhcNNDAxMjMxMjM1OTU5WjAaMRgwFgYDVQQDEw9rYXdp +cGlrby1jbGllbnQwKjAFBgMrZXADIQDS92jWoJqIAiv/W+d2rKeiUMr4Lyrd7sAZ +FJB1uLoldqN1MHMwDAYDVR0TAQH/BAIwADATBgNVHSUEDDAKBggrBgEFBQcDAjAO +BgNVHQ8BAf8EBAMCB4AwHQYDVR0OBBYEFLksmJu0qomLfYqT+lJWKJA32qSmMB8G +A1UdIwQYMBaAFNBVyhfrfaWPG/bQaHw0BL/VViq3MAUGAytlcANBACC/2jpXDnoo +LnGh2FZPEZHsWUYs97znJzsenBUpSJhr3jBUqUOdHr6zd2oWS5TqH8wEC5fzfnbT +E9MiPEWlvw0= +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIB+TCCAaugAwIBAgIBATAFBgMrZXAwFjEUMBIGA1UEAxMLa2F3aXBpa28tY2Ew +HhcNMjAwMTAxMDAwMDAwWhcNNDAxMjMxMjM1OTU5WjAWMRQwEgYDVQQDEwtrYXdp +cGlrby1jYTAqMAUGAytlcAMhAG7iAxaqyOj/Yckknf09zbMt1ABMqJINuxs78UeE +GYato4IBHDCCARgwDwYDVR0TAQH/BAUwAwEB/zCB5QYDVR0eAQH/BIHaMIHXoIHU +MAqHCH8AAAD/AAAAMAqCCGthd2lwaWtvMAuCCWxvY2FsaG9zdDAGggR0ZXN0MAmC +B2V4YW1wbGUwDYILZXhhbXBsZS5jb20wDYILZXhhbXBsZS5uZXQwDYILZXhhbXBs +ZS5vcmcwCYIHaW52YWxpZDAKgQhrYXdpcGlrbzALgQlsb2NhbGhvc3QwBoEEdGVz +dDAJgQdleGFtcGxlMA2BC2V4YW1wbGUuY29tMA2BC2V4YW1wbGUubmV0MA2BC2V4 +YW1wbGUub3JnMAmBB2ludmFsaWQwHQYDVR0OBBYEFNBVyhfrfaWPG/bQaHw0BL/V +Viq3MAUGAytlcANBAJQ1/xxifLV25+92zUki6efxjrDzKQ50WmK7vjMcFTrvPSg0 +K43TIK6/bV2YWAiAOTCdBjVYGhlF6tiPEeuingo= +-----END CERTIFICATE----- +-----BEGIN PRIVATE KEY----- +MC4CAQAwBQYDK2VwBCIEIPDQBN2OBblUD9zd2mE8SBP3PzwMtV+blmusd7s3n4EZ +-----END PRIVATE KEY----- diff --git a/examples/tls/ed25519/testing--client--ed25519--certificate.pem b/examples/tls/ed25519/testing--client--ed25519--certificate.pem new file mode 100644 index 0000000..7b3671c --- /dev/null +++ b/examples/tls/ed25519/testing--client--ed25519--certificate.pem @@ -0,0 +1,10 @@ +-----BEGIN CERTIFICATE----- +MIIBVDCCAQagAwIBAgIBAzAFBgMrZXAwFjEUMBIGA1UEAxMLa2F3aXBpa28tY2Ew +HhcNMjAwMTAxMDAwMDAwWhcNNDAxMjMxMjM1OTU5WjAaMRgwFgYDVQQDEw9rYXdp +cGlrby1jbGllbnQwKjAFBgMrZXADIQDS92jWoJqIAiv/W+d2rKeiUMr4Lyrd7sAZ +FJB1uLoldqN1MHMwDAYDVR0TAQH/BAIwADATBgNVHSUEDDAKBggrBgEFBQcDAjAO +BgNVHQ8BAf8EBAMCB4AwHQYDVR0OBBYEFLksmJu0qomLfYqT+lJWKJA32qSmMB8G +A1UdIwQYMBaAFNBVyhfrfaWPG/bQaHw0BL/VViq3MAUGAytlcANBACC/2jpXDnoo +LnGh2FZPEZHsWUYs97znJzsenBUpSJhr3jBUqUOdHr6zd2oWS5TqH8wEC5fzfnbT +E9MiPEWlvw0= +-----END CERTIFICATE----- diff --git a/examples/tls/ed25519/testing--client--ed25519--private-key.pem b/examples/tls/ed25519/testing--client--ed25519--private-key.pem new file mode 100644 index 0000000..93d7998 --- /dev/null +++ b/examples/tls/ed25519/testing--client--ed25519--private-key.pem @@ -0,0 +1,3 @@ +-----BEGIN PRIVATE KEY----- +MC4CAQAwBQYDK2VwBCIEIPDQBN2OBblUD9zd2mE8SBP3PzwMtV+blmusd7s3n4EZ +-----END PRIVATE KEY----- diff --git a/examples/tls/ed25519/testing--client--ed25519--request.pem b/examples/tls/ed25519/testing--client--ed25519--request.pem new file mode 100644 index 0000000..4bdc804 --- /dev/null +++ b/examples/tls/ed25519/testing--client--ed25519--request.pem @@ -0,0 +1,7 @@ +-----BEGIN NEW CERTIFICATE REQUEST----- +MIHhMIGUAgEAMBoxGDAWBgNVBAMTD2thd2lwaWtvLWNsaWVudDAqMAUGAytlcAMh +ANL3aNagmogCK/9b53asp6JQyvgvKt3uwBkUkHW4uiV2oEcwRQYJKoZIhvcNAQkO +MTgwNjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAWBgNVHSUBAf8EDDAK +BggrBgEFBQcDAjAFBgMrZXADQQA/hJEs0iWUri7o7oeDJ+jOrMWJTqKbLxEY4pHb +hf5Xq8JlzreyqtCR1006yFgjSRi04c++WwWLcMv0udRiMYIG +-----END NEW CERTIFICATE REQUEST----- diff --git a/examples/tls/ed25519/testing--server--ed25519--bundle.p12 b/examples/tls/ed25519/testing--server--ed25519--bundle.p12 new file mode 100644 index 0000000..98ed8f0 Binary files /dev/null and b/examples/tls/ed25519/testing--server--ed25519--bundle.p12 differ diff --git a/examples/tls/ed25519/testing--server--ed25519--bundle.pem b/examples/tls/ed25519/testing--server--ed25519--bundle.pem new file mode 100644 index 0000000..27ec27f --- /dev/null +++ b/examples/tls/ed25519/testing--server--ed25519--bundle.pem @@ -0,0 +1,46 @@ +-----BEGIN CERTIFICATE----- +MIIFITCCBNOgAwIBAgIBAjAFBgMrZXAwFjEUMBIGA1UEAxMLa2F3aXBpa28tY2Ew +HhcNMjAwMTAxMDAwMDAwWh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52YWxpZDAKgQhrYXdpcGlrbzALgQlsb2NhbGhvc3QwBoEEdGVz +dDAJgQdleGFtcGxlMA2BC2V4YW1wbGUuY29tMA2BC2V4YW1wbGUubmV0MA2BC2V4 +YW1wbGUub3JnMAmBB2ludmFsaWQwHQYDVR0OBBYEFNBVyhfrfaWPG/bQaHw0BL/V +Viq3MAUGAytlcANBAJQ1/xxifLV25+92zUki6efxjrDzKQ50WmK7vjMcFTrvPSg0 +K43TIK6/bV2YWAiAOTCdBjVYGhlF6tiPEeuingo= +-----END CERTIFICATE----- +-----BEGIN PRIVATE KEY----- +MC4CAQAwBQYDK2VwBCIEIMQKB9u2kZZ9VbGnZddN3yhq865Q/IU014UjTY5uPfiE +-----END PRIVATE KEY----- diff --git a/examples/tls/ed25519/testing--server--ed25519--certificate.pem b/examples/tls/ed25519/testing--server--ed25519--certificate.pem new file mode 100644 index 0000000..37a33ec --- /dev/null +++ b/examples/tls/ed25519/testing--server--ed25519--certificate.pem @@ -0,0 +1,30 @@ +-----BEGIN CERTIFICATE----- +MIIFITCCBNOgAwIBAgIBAjAFBgMrZXAwFjEUMBIGA1UEAxMLa2F3aXBpa28tY2Ew +HhcNMjAwMTAxMDAwMDAwWhcNNDAxMjMxMjM1OTU5WjAaMRgwFgYDVQQDEw9rYXdp +cGlrby1zZXJ2ZXIwKjAFBgMrZXADIQDxM9xzekdhsBs7Ahc0Fw/I2diBKsRxmkUf +xyqvpwmbtqOCBEAwggQ8MAwGA1UdEwEB/wQCMAAwggPFBgNVHREEggO8MIIDuIII +a2F3aXBpa2+CCioua2F3aXBpa2+CCWxvY2FsaG9zdIILKi5sb2NhbGhvc3SCBHRl +c3SCBioudGVzdIIHZXhhbXBsZYIJKi5leGFtcGxlggtleGFtcGxlLmNvbYINKi5l +eGFtcGxlLmNvbYILZXhhbXBsZS5uZXSCDSouZXhhbXBsZS5uZXSCC2V4YW1wbGUu +b3Jngg0qLmV4YW1wbGUub3JnggdpbnZhbGlkggkqLmludmFsaWSHB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UHAwEwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBSiumt/SOr3Fl24 +MqbO24S1p9MWCjAfBgNVHSMEGDAWgBTQVcoX632ljxv20Gh8NAS/1VYqtzAFBgMr +ZXADQQDvxgE/H82cA41fqwlMgEK4bypC8pwKEv51D2AvIAIMEIsL404WriZDTupH +tSQOhqP7o0G5ia0EFLBxsWH66GYC +-----END CERTIFICATE----- diff --git a/examples/tls/ed25519/testing--server--ed25519--private-key.pem b/examples/tls/ed25519/testing--server--ed25519--private-key.pem new file mode 100644 index 0000000..36e9b1b --- /dev/null +++ b/examples/tls/ed25519/testing--server--ed25519--private-key.pem @@ -0,0 +1,3 @@ +-----BEGIN PRIVATE KEY----- +MC4CAQAwBQYDK2VwBCIEIMQKB9u2kZZ9VbGnZddN3yhq865Q/IU014UjTY5uPfiE +-----END PRIVATE KEY----- diff --git a/examples/tls/ed25519/testing--server--ed25519--request.pem b/examples/tls/ed25519/testing--server--ed25519--request.pem new file mode 100644 index 0000000..61b25f5 --- /dev/null +++ b/examples/tls/ed25519/testing--server--ed25519--request.pem @@ -0,0 +1,28 @@ +-----BEGIN NEW CERTIFICATE REQUEST----- +MIIEszCCBGUCAQAwGjEYMBYGA1UEAxMPa2F3aXBpa28tc2VydmVyMCowBQYDK2Vw +AyEA8TPcc3pHYbAbOwIXNBcPyNnYgSrEcZpFH8cqr6cJm7agggQWMIIEEgYJKoZI +hvcNAQkOMYIEAzCCA/8wggPFBgNVHREEggO8MIIDuIIIa2F3aXBpa2+CCioua2F3 +aXBpa2+CCWxvY2FsaG9zdIILKi5sb2NhbGhvc3SCBHRlc3SCBioudGVzdIIHZXhh +bXBsZYIJKi5leGFtcGxlggtleGFtcGxlLmNvbYINKi5leGFtcGxlLmNvbYILZXhh +bXBsZS5uZXSCDSouZXhhbXBsZS5uZXSCC2V4YW1wbGUub3Jngg0qLmV4YW1wbGUu +b3JnggdpbnZhbGlkggkqLmludmFsaWSHBH8AAACHBH8AAAGHBH8AA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0lAQH/BAwwCgYIKwYBBQUHAwEwBQYDK2VwA0EA3xv6sIRQ7TAx +8VNChu+MOrvO7fmJQ5JkPXrT7JSH+4vgIFPZK0X8EZRcFS0d5QQRMs3uQhT2deQm +Q0nKwgwcCA== +-----END NEW CERTIFICATE REQUEST----- diff --git a/examples/tls/rsa/self-signed--rsa--bundle.p12 b/examples/tls/rsa/self-signed--rsa--bundle.p12 new file mode 100644 index 0000000..66bf35e Binary files /dev/null and b/examples/tls/rsa/self-signed--rsa--bundle.p12 differ diff --git a/examples/tls/rsa/self-signed--rsa--bundle.pem b/examples/tls/rsa/self-signed--rsa--bundle.pem new file mode 100644 index 0000000..b2d4858 --- /dev/null +++ b/examples/tls/rsa/self-signed--rsa--bundle.pem @@ -0,0 +1,67 @@ +-----BEGIN CERTIFICATE----- +MIIG2jCCBcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAfMR0wGwYDVQQDExRrYXdp +cGlrby1zZWxmLXNpZ25lZDAeFw0yMDAxMDEwMDAwMDBaFw00MDEyMzEyMzU5NTla +MB8xHTAbBgNVBAMTFGthd2lwaWtvLXNlbGYtc2lnbmVkMIIBIjANBgkqhkiG9w0B +AQEFAAOCAQ8AMIIBCgKCAQEA4e7dfq4YtoZc1YyTRsoEadEfa0qmuo0CFxO66rKp +WYmEjb6wu4c13WgKSduUGVJ0A0yszTMZi9drU6za/nsEAtELcEwDOI1Qly3pq6U5 +qCQt3g2P4/h3rKfjRzyBw7HDjI6UO3gd1Qb8Rf1yD8tKuckBob/QisxxI77cxukV +FApdFvt66Baw0u+G4sFYdV5pcvnkwk9aNicPKw6jcAg8JzN+b3PFllPKCs6+1way +BEhBO+YmvWH4tVPspc3Vp6dsrbNmxby3bOO1/zwRUztnPZVDwpq10ZV04NGsr9Vt +7kLRk6roh9UJIEHcIyTutTzaG2unUW/bYrRStc27RZ+jxwIDAQABo4IEHzCCBBsw +DAYDVR0TAQH/BAIwADCCA8UGA1UdEQSCA7wwggO4gghrYXdpcGlrb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r4++9QKBgQCvF72uJJ0BdeBib2q1 +xCJOiRHfMZ1zckwrNbOcNJHabVvS3GZN2hCADVBz5SAg3ERhdOD8Iy6oXtJqyYPN +PRJ9pMIqm5mV2kBNAZyzL4iPqy3GwJJzIsgDFl3LYiGNhXLS1+6FaRS5NN3E5maH +dqiff1xNNEHgbNdL99cvAQALgw== +-----END PRIVATE KEY----- diff --git a/examples/tls/rsa/self-signed--rsa--certificate.pem b/examples/tls/rsa/self-signed--rsa--certificate.pem new file mode 100644 index 0000000..6026a2d --- /dev/null +++ b/examples/tls/rsa/self-signed--rsa--certificate.pem @@ -0,0 +1,39 @@ +-----BEGIN CERTIFICATE----- +MIIG2jCCBcKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAfMR0wGwYDVQQDExRrYXdp +cGlrby1zZWxmLXNpZ25lZDAeFw0yMDAxMDEwMDAwMDBaFw00MDEyMzEyMzU5NTla +MB8xHTAbBgNVBAMTFGthd2lwaWtvLXNlbGYtc2lnbmVkMIIBIjANBgkqhkiG9w0B +AQEFAAOCAQ8AMIIBCgKCAQEA4e7dfq4YtoZc1YyTRsoEadEfa0qmuo0CFxO66rKp +WYmEjb6wu4c13WgKSduUGVJ0A0yszTMZi9drU6za/nsEAtELcEwDOI1Qly3pq6U5 +qCQt3g2P4/h3rKfjRzyBw7HDjI6UO3gd1Qb8Rf1yD8tKuckBob/QisxxI77cxukV +FApdFvt66Baw0u+G4sFYdV5pcvnkwk9aNicPKw6jcAg8JzN+b3PFllPKCs6+1way +BEhBO+YmvWH4tVPspc3Vp6dsrbNmxby3bOO1/zwRUztnPZVDwpq10ZV04NGsr9Vt +7kLRk6roh9UJIEHcIyTutTzaG2unUW/bYrRStc27RZ+jxwIDAQABo4IEHzCCBBsw +DAYDVR0TAQH/BAIwADCCA8UGA1UdEQSCA7wwggO4gghrYXdpcGlrb4IKKi5rYXdp +cGlrb4IJbG9jYWxob3N0ggsqLmxvY2FsaG9zdIIEdGVzdIIGKi50ZXN0ggdleGFt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cYcEfwAAcocEfwAAc4cE +fwAAdIcEfwAAdYcEfwAAdocEfwAAd4cEfwAAeIcEfwAAeYcEfwAAeocEfwAAe4cE +fwAAfIcEfwAAfYcEfwAAfocEfwAAfzATBgNVHSUEDDAKBggrBgEFBQcDATAOBgNV +HQ8BAf8EBAMCBaAwHQYDVR0OBBYEFL3OKySvOY9MCNSZtxUKYDu0m++7MA0GCSqG +SIb3DQEBCwUAA4IBAQAdpRsF/EnW4n/QlIs4oNjvAvMs8Yz2k8/LTeum+QANLDIZ +sQTVtv28GBV8mrJnAPsejPl1hdv0i1QPycdtU/oswyxVvv9q0AoQHXNBmDhC2NKs +iOzoRX2OuHNF9vyigZGt7k6XlY7TTaJzRUyMZOivMn1mNmXpAEUpx9EBwemhdlYP +KhWIYqfk0SytcTeqCr66kv20daTA2Q9dq0necfxJ/WTvuFniI5UdMAHXIuQLajNS +Wfm0QRN5nk/5Ri85ng4kKebgUkGxicR8ilUY9b5z9YJoi/ZJOwZjjNliczG6DAus +Au+n6V1KEGpuho9q2ImXucRlnTmUJlzDhUANae5/ +-----END CERTIFICATE----- diff --git a/examples/tls/rsa/self-signed--rsa--private-key.pem b/examples/tls/rsa/self-signed--rsa--private-key.pem new file mode 100644 index 0000000..fb4eb7b --- /dev/null +++ b/examples/tls/rsa/self-signed--rsa--private-key.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDh7t1+rhi2hlzV +jJNGygRp0R9rSqa6jQIXE7rqsqlZiYSNvrC7hzXdaApJ25QZUnQDTKzNMxmL12tT +rNr+ewQC0QtwTAM4jVCXLemrpTmoJC3eDY/j+Hesp+NHPIHDscOMjpQ7eB3VBvxF +/XIPy0q5yQGhv9CKzHEjvtzG6RUUCl0W+3roFrDS74biwVh1Xmly+eTCT1o2Jw8r +DqNwCDwnM35vc8WWU8oKzr7XBrIESEE75ia9Yfi1U+ylzdWnp2yts2bFv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vWYud+ybjjaxB0cuMTSWnS +rE7j7wlGDDa2Oj5n51nTleoYn6ZnF4uuy3a8r4++9QKBgQCvF72uJJ0BdeBib2q1 +xCJOiRHfMZ1zckwrNbOcNJHabVvS3GZN2hCADVBz5SAg3ERhdOD8Iy6oXtJqyYPN +PRJ9pMIqm5mV2kBNAZyzL4iPqy3GwJJzIsgDFl3LYiGNhXLS1+6FaRS5NN3E5maH +dqiff1xNNEHgbNdL99cvAQALgw== +-----END PRIVATE KEY----- diff --git a/examples/tls/rsa/testing--ca--rsa--certificate.pem b/examples/tls/rsa/testing--ca--rsa--certificate.pem new file mode 100644 index 0000000..0ad4b6e --- /dev/null +++ b/examples/tls/rsa/testing--ca--rsa--certificate.pem @@ -0,0 +1,23 @@ +-----BEGIN CERTIFICATE----- +MIIDxTCCAq2gAwIBAgIBATANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtrYXdp +cGlrby1jYTAeFw0yMDAxMDEwMDAwMDBaFw00MDEyMzEyMzU5NTlaMBYxFDASBgNV +BAMTC2thd2lwaWtvLWNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA +qVvdvjwNaOykQoa/Qz2GkiY/qUEL4vFuLoUAy2UqWuCTsWFYdMcK67KGGz6u9BRq +7t5MTx3/WIiNHLWA/A4nAL1To4jrE+3Aj/oYXXnozqk7z2lGCVywxgLbZBo2vWVG ++hgUEghikagU5fN3NsdTmdQeGnKv6Vm6ZJUNZDySYN1Tt50nzoA1pa5zvHlcLlzX +dQNr/A9L/hJpVqiEub25DgxXUsCJgA+1KFiY1rMWXY6pzelcVoiZ2A40oXVI2cst +UtNmTKwCvnyzlzMhgsLbY7iTp5xfnZE3QzIziaWkq9dOLqNi4oiaF4nkLjqzItjs +99lteqQ9c1cqyxGY8X0AEwIDAQABo4IBHDCCARgwDwYDVR0TAQH/BAUwAwEB/zCB +5QYDVR0eAQH/BIHaMIHXoIHUMAqHCH8AAAD/AAAAMAqCCGthd2lwaWtvMAuCCWxv +Y2FsaG9zdDAGggR0ZXN0MAmCB2V4YW1wbGUwDYILZXhhbXBsZS5jb20wDYILZXhh +bXBsZS5uZXQwDYILZXhhbXBsZS5vcmcwCYIHaW52YWxpZDAKgQhrYXdpcGlrbzAL +gQlsb2NhbGhvc3QwBoEEdGVzdDAJgQdleGFtcGxlMA2BC2V4YW1wbGUuY29tMA2B +C2V4YW1wbGUubmV0MA2BC2V4YW1wbGUub3JnMAmBB2ludmFsaWQwHQYDVR0OBBYE +FIYvnZN/WTP9CLtCmE8NoDvZ2Fs0MA0GCSqGSIb3DQEBCwUAA4IBAQCD9Rq/CTOZ +9v0XoEq208y1akWLG0l3YDvor+ee9Ier8GcQKuaX/WaOLceqPuMFpi2hmlblmkw+ +X11IVefWGcO9TCO0gPRpzXXpx/ZMlbgvOoM/WE3PtrVfPLxNn91LeENPUj+jrCNo +594Prq+/FaBKs/xOfzgLR1wVEHt2lyXsvQbJ38qkAkIlQdjpolmDopNkFnlglM5Y +cMO/3ywYpI/X5+ge5TpOlDf4iwo6dm8uxpY/12gwlSpf/B5KuDqaeae6oHTB7Gn4 +Q8TCLS2Awha2lFFcQEoes14Lri0ARFygav0X1aP4P2vPM5ioA8vW2vgCPHLOccP8 +vOyisHCQ3eIe +-----END CERTIFICATE----- diff --git a/examples/tls/rsa/testing--ca--rsa--private-key.pem b/examples/tls/rsa/testing--ca--rsa--private-key.pem new file mode 100644 index 0000000..c141ec6 --- /dev/null +++ b/examples/tls/rsa/testing--ca--rsa--private-key.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCpW92+PA1o7KRC +hr9DPYaSJj+pQQvi8W4uhQDLZSpa4JOxYVh0xwrrsoYbPq70FGru3kxPHf9YiI0c +tYD8DicAvVOjiOsT7cCP+hhdeejOqTvPaUYJXLDGAttkGja9ZUb6GBQSCGKRqBTl +83c2x1OZ1B4acq/pWbp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QIQjWEQKBgQCF +CBcZUL/XNgt/NQx3+CyG7RKm7ARlagxhvjlmcqZ5TZdpnFENuOik99l4B/tsuPqu +d0gRpWCp8XZpivAK6X/0l+aHA7n+vpPHhHZVE6L+w6BLudn6IW00cpVlGTcEFaje +hTWLX7yq/j5rvh0Gv+O4TTW3LaNHABKoRIX6DxLlAQKBgQDGMFWVeXZSnx3l5sso +mhPgSQlo4AECVsjYfExmGULyjunNjqhbjvIn5bduwoXLO1CkGWUmuVgcfgMDznFN +ejL4GDpQEYIN0r/8/UHDPVPH0CvSQHdKRDCrgz+mW8pncPb9jz7rMZszz9yu1lzy +Xf4gCQI4m9/jKPsfR9aK9ZZPow== +-----END PRIVATE KEY----- diff --git a/examples/tls/rsa/testing--client--rsa--bundle.p12 b/examples/tls/rsa/testing--client--rsa--bundle.p12 new file mode 100644 index 0000000..11c01e0 Binary files /dev/null and b/examples/tls/rsa/testing--client--rsa--bundle.p12 differ diff --git a/examples/tls/rsa/testing--client--rsa--bundle.pem b/examples/tls/rsa/testing--client--rsa--bundle.pem new file mode 100644 index 0000000..7b8275d --- /dev/null +++ b/examples/tls/rsa/testing--client--rsa--bundle.pem @@ -0,0 +1,70 @@ +-----BEGIN CERTIFICATE----- +MIIDIDCCAgigAwIBAgIBAzANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtrYXdp +cGlrby1jYTAeFw0yMDAxMDEwMDAwMDBaFw00MDEyMzEyMzU5NTlaMBoxGDAWBgNV +BAMTD2thd2lwaWtvLWNsaWVudDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC +ggEBALQ4L9XyKpxOLt0X8BGknu97TNYJPDNSVT8Uc+1WTW6xXIY3yx8v1YXUCR+A +DfyyGDaF0kbTq5wC1ki9/w2ZVFYivqmgBRNJ4RgmjLoSBw6pfyPQX9tvuJXBp98M +cBra2Z2zVyL2OkU3FpSS2JxtE2HqCPbOQgCfN+AJOHBqkK1T/LJO7OhrenOkGoiu +1fevv3l3YXERX8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d1U2yUFWNtHwD5Ahf2gKQJvu+p7gtDkJ1d9uhroI +Rx6Jk0cIlLt7ZDg8mMcniJN4fpVBALYzMjDUHoRiVbXGnI/xHp7iVF/7xNhh9PPI +SERQ23PoWrrpLTLabsLg3/8K6WRQSuvPhs1t8zyS6YNTtrs25Mwe+VgRAoGAIxFg +gBlcGucNRH+pUc+HRHEu7SU18pzMsbXqEboP4C6AgBfvLgTSYLOyg6+GbvQqZ03M +o4F7fnxSlyRDfGSEpJWofo1iz0lYOS+gY+NElZKI9GjitvRpx9K31ITN1X91k+62 +AXC5kP3Afm/ICgj8W43e5m4N/sUMWCYAHj/uzQsCgYEAz+NI93EpID/ntJHr2Qkd +uHH85tOlddusyQhainCamSSXIJQ08Tn21kDcpU2PmgV0AwoDOSY5uqm3zhMb96fW +mP8VnBreU59abNQGu+UwGCeDWQVtggKEURS/rB/XViisopDHTAIJCxFjVY0KVY8X +f6wM8/YvQMbHiiGFoz3bB0A= +-----END PRIVATE KEY----- diff --git a/examples/tls/rsa/testing--client--rsa--certificate.pem b/examples/tls/rsa/testing--client--rsa--certificate.pem new file mode 100644 index 0000000..f2c8d84 --- /dev/null +++ b/examples/tls/rsa/testing--client--rsa--certificate.pem @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDIDCCAgigAwIBAgIBAzANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtrYXdp +cGlrby1jYTAeFw0yMDAxMDEwMDAwMDBaFw00MDEyMzEyMzU5NTlaMBoxGDAWBgNV +BAMTD2thd2lwaWtvLWNsaWVudDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC +ggEBALQ4L9XyKpxOLt0X8BGknu97TNYJPDNSVT8Uc+1WTW6xXIY3yx8v1YXUCR+A +DfyyGDaF0kbTq5wC1ki9/w2ZVFYivqmgBRNJ4RgmjLoSBw6pfyPQX9tvuJXBp98M +cBra2Z2zVyL2OkU3FpSS2JxtE2HqCPbOQgCfN+AJOHBqkK1T/LJO7OhrenOkGoiu +1fevv3l3YXERX8GJlrYzxXKaMYofXXdKp73PSkIVdAxBgukvpf1BNpHKsKLbYfX/ ++Hx8Kl2T35zGzV2huwAF4N44CJPqZM0RenNhuaL7CLi+c/mIqlM0VnBVCAGpPcUY +EVN2dFxWZoknD3PNfnk09XzRVSMCAwEAAaN1MHMwDAYDVR0TAQH/BAIwADATBgNV +HSUEDDAKBggrBgEFBQcDAjAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0OBBYEFMxmXEGN +zdEz48X7N9+bM7cOC7HlMB8GA1UdIwQYMBaAFIYvnZN/WTP9CLtCmE8NoDvZ2Fs0 +MA0GCSqGSIb3DQEBCwUAA4IBAQAJ3iKCFtH3Uh5rVIWQoRHgl504xaQ4oZslXLrH +CSOee/lSlXRQo9kPhOy5uQT0U+hVloFk7ZlkL4QvH6oGicraDnSZOpmjhQGCvdWw +nkl/8aEUoxubPJFHHSZoCOejPxTt5AIbLxmsKLI+0Jk2YspGcyAs2cbBY7eqeLER +Wd6H9bIoD8aE6dNrtV/ryeQbMFTwJ6nkeU3hS4iztLWVT14/Sr5V5bWGNItAbe6N +Dyx7NPOHhD57popOlgvcoiEXv88QpGivUEQXdOjtEy5tUsMYb9LPuGEORJBpi/kl +cOCyS2zGZWfj6rr7XgF6CY9yzS7vaQCysjFJSxJDBpwFeJdP +-----END CERTIFICATE----- diff --git a/examples/tls/rsa/testing--client--rsa--private-key.pem b/examples/tls/rsa/testing--client--rsa--private-key.pem new file mode 100644 index 0000000..d3ca7e0 --- /dev/null +++ b/examples/tls/rsa/testing--client--rsa--private-key.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC0OC/V8iqcTi7d +F/ARpJ7ve0zWCTwzUlU/FHPtVk1usVyGN8sfL9WF1AkfgA38shg2hdJG06ucAtZI +vf8NmVRWIr6poAUTSeEYJoy6EgcOqX8j0F/bb7iVwaff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LTLabsLg3/8K6WRQSuvPhs1t8zyS6YNTtrs25Mwe+VgRAoGAIxFg +gBlcGucNRH+pUc+HRHEu7SU18pzMsbXqEboP4C6AgBfvLgTSYLOyg6+GbvQqZ03M +o4F7fnxSlyRDfGSEpJWofo1iz0lYOS+gY+NElZKI9GjitvRpx9K31ITN1X91k+62 +AXC5kP3Afm/ICgj8W43e5m4N/sUMWCYAHj/uzQsCgYEAz+NI93EpID/ntJHr2Qkd +uHH85tOlddusyQhainCamSSXIJQ08Tn21kDcpU2PmgV0AwoDOSY5uqm3zhMb96fW +mP8VnBreU59abNQGu+UwGCeDWQVtggKEURS/rB/XViisopDHTAIJCxFjVY0KVY8X +f6wM8/YvQMbHiiGFoz3bB0A= +-----END PRIVATE KEY----- diff --git a/examples/tls/rsa/testing--client--rsa--request.pem b/examples/tls/rsa/testing--client--rsa--request.pem new file mode 100644 index 0000000..d9f9283 --- /dev/null +++ b/examples/tls/rsa/testing--client--rsa--request.pem @@ -0,0 +1,17 @@ +-----BEGIN NEW CERTIFICATE REQUEST----- +MIICpjCCAY4CAQAwGjEYMBYGA1UEAxMPa2F3aXBpa28tY2xpZW50MIIBIjANBgkq +hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtDgv1fIqnE4u3RfwEaSe73tM1gk8M1JV +PxRz7VZNbrFchjfLHy/VhdQJH4AN/LIYNoXSRtOrnALWSL3/DZlUViK+qaAFE0nh +GCaMuhIHDql/I9Bf22+4lcGn3wxwGtrZnbNXIvY6RTcWlJLYnG0TYeoI9s5CAJ83 +4Ak4cGqQrVP8sk7s6Gt6c6QaiK7V96+/eXdhcRFfwYmWtjPFcpoxih9dd0qnvc9K +QhV0DEGC6S+l/UE2kcqwotth9f/4fHwqXZPfnMbNXaG7AAXg3jgIk+pkzRF6c2G5 +ovsIuL5z+YiqUzRWcFUIAak9xRgRU3Z0XFZmiScPc81+eTT1fNFVIwIDAQABoEcw +RQYJKoZIhvcNAQkOMTgwNjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIFoDAW +BgNVHSUBAf8EDDAKBggrBgEFBQcDAjANBgkqhkiG9w0BAQsFAAOCAQEAcmLXQALi +Y1xY5gIYidH7f0sQeonrl6W+6SHm/6nIDNut6/7NBWD7uFK2JIAwOjDexsai4Jww +vT51oBeLUJ5x32GMnopag+OSplbCCTG2aVjNbSgvPPLVO6ST30C3k+3Wy10kjrJH +y7P4n12hts1KB91AIDSHu9Ml3rSqBoTj4BKSnLjCyAw2jk3m6B2jq6bDvlhBKR7s +CNO+Hoeq5E6HBveDi+aVSOcWzB7DUxQQX4IkvZ+hwmdktubwvpo7rjVRcluZ9vao +1YrAJxXszR+1TuiSi2LK59QKEB0OAKu/0xBuTIALNkjypD1X4X6NKunq/L4sXNpG +DkE9qaayfJq/ag== +-----END NEW CERTIFICATE REQUEST----- diff --git a/examples/tls/rsa/testing--server--rsa--bundle.p12 b/examples/tls/rsa/testing--server--rsa--bundle.p12 new file mode 100644 index 0000000..c137aa9 Binary files /dev/null and b/examples/tls/rsa/testing--server--rsa--bundle.p12 differ diff --git a/examples/tls/rsa/testing--server--rsa--bundle.pem b/examples/tls/rsa/testing--server--rsa--bundle.pem new file mode 100644 index 0000000..2a589dd --- /dev/null +++ b/examples/tls/rsa/testing--server--rsa--bundle.pem @@ -0,0 +1,91 @@ +-----BEGIN CERTIFICATE----- +MIIG7TCCBdWgAwIBAgIBAjANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtrYXdp +cGlrby1jYTAeFw0yMDAxMDEwMDAwMDBaFw00MDEyMzEyMzU5NTlaMBoxGDAWBgNV +BAMTD2thd2lwaWtvLXNlcnZlcjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC +ggEBAMrFbK7az77Cn2dhjCpME56GQzN/ahjSybWUffIRBkgoruKTbKNg+w4vJdPW +avO45vYMTgY/wKKCEpiPYymTe0qP6LPglCrkFm0YE2u1LyoL+j82mFDMYRnX1cwX +XHuVyqROZuGl9wr2tW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dpeCMWhuvZFkMdH +rJ9pVugKWIPZ8F3VXZMZ0/NGDDeC35866esyNEMaxeppiCN6bDHHIXKEt6DDpBll +wn5WKgtTCBbzbdw7iHKRDEUDABcCgYEA8lmpftCxsBwii/NozbvFB+qGZ6w2wJHq +v0XzUySh5Z40vcHyvYH7oovw+8BqoItEU2R4XoYl6rC52zcRx1tP0Sgg/lxqHgCK +vBdSExJEUTRpTGfcQ5MjfufP1LWYF2JhyzGBC5z8DsMjlMOxETOsAAmSPjaL+yJz +lIB+0QQKyJUCgYEAvY4+OfOfZvB0fBuDW9GOeXoSQlp6nsLLCSKgrfAWWnr8eP7Y +YQvroAvVLJWasMXTvaNiWuMESWCPmhwyezuszuOV3FX7tvRj0mdPkTqXgFJUOTFC +wyeJi6TjecoFUR0Mx9mZwCkH+TaGTaDIZMLH4HebKOqezlf8O7ogUbp1eEsCgYB0 +Dx5NnfHKLd8ZeIrzI337CYQuN9nMpNRvnzck1QE3LmmBilUODiaMtEnGtmIZ2jfx +W8cNNV8JInMPGTNJbmAuAPKz/VvQXGAULXLfsTrITLo0nfRs5BT2nFr6ObDJWhMN +NPrgreBDzY3Hm2O7oiw3pF3Fr2ef7+K79kFFJZNodQKBgH5ZOibAlJkpEqvkHO88 +RY5ITEzkstaKW8ktkNjkqbCk3EVjl+nfKcEexKpbDPMfPEfowG8zfNTDd9AMoCV2 +zzCvHJThxc+W9dPLfEgjE87Ci2lcJx5+hjGpgTbgAX/pglc3gnrdKRoILXdQd0Ar +oDim4HdjGEK2jM6YMvcRnjFp +-----END PRIVATE KEY----- diff --git a/examples/tls/rsa/testing--server--rsa--certificate.pem b/examples/tls/rsa/testing--server--rsa--certificate.pem new file mode 100644 index 0000000..3ddd2fb --- /dev/null +++ b/examples/tls/rsa/testing--server--rsa--certificate.pem @@ -0,0 +1,40 @@ +-----BEGIN CERTIFICATE----- +MIIG7TCCBdWgAwIBAgIBAjANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtrYXdp +cGl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LOsCiRXayTR0BQECkpSpnY0GOVzOK8X4Z0CGNtESRZhs3rfr/J84CM9tW +FLVtpoL5sIV1iP5xo3RasxlDbzSiCxbEaEa1PFZKzQ9332oCeO3mM68JHTvcYPGJ +CWYEjTExhVpTETSOr4HZltuUDjUqvp/511BQE7YHhxAg9OkbMlQ4V8Vb3doh3juL +XA== +-----END CERTIFICATE----- diff --git a/examples/tls/rsa/testing--server--rsa--private-key.pem b/examples/tls/rsa/testing--server--rsa--private-key.pem new file mode 100644 index 0000000..5a29692 --- /dev/null +++ b/examples/tls/rsa/testing--server--rsa--private-key.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDKxWyu2s++wp9n +YYwqTBOehkMzf2oY0sm1lH3yEQZIKK7ik2yjYPsOLyXT1mrzuOb2DE4GP8CighKY +j2Mpk3tKj+iz4JQq5BZtGBNrtS8qC/o/NphQzGEZ19XMF1x7lcqkTmbhpfcK9rVl +RbKN/Vsx/nuMJTL654fHRLxpA7b9rgosbykyse3lB2drWTfrjauKXno89fnEfv70 +IPLYL0hkgO+IE0CONUGR60RBD/GuSCKQRHECmDCUvCTLnJkKtiqYOkIDXPnhZrxl +5GCUXDI4Fh0RCOpkzr30ABg6kXFFzWAVJg0JkkbYDLgOZcsQLXUCFhewbFKa2/CN +JPPftwVjAgMBAAECggEBALCoafS4y++tTgValiwvlZQx8xBFvKCd3IBnO4cO0AND +9oGN4UNB9dg4uWMi1pE6EXZh6ARHvMOYQS1LFyCczfh7AkjcqxnnF6a6KAlZlBq0 +zrQOE4upVBuY0Dp8S+Wb7i1R5Q5Icr/JiuYNX++WwMIArZC+w/iWiNPSDbgMNXwy +fAepv8XhR5AMpvzZ/gnQg9C5HF+oyxSitrDcO8jJKezI7iSGj/LhMAdiWQKBxpVp +MuXD0ZDFhZR0LCkgi4SvcGorXS55wo2n1VUxM+5630N0cvyv8Fx3Li9cms5y6FGq +gELeRAlxABGwrWy/GIKhgyi8tF/Uef7Hix8dqk1eankCgYEA1jEXEDYjPijugqRF +5SQnwYCEeI4K6GD4yHMxPTyrf70m2KyABPZnHd3DOQ19cH1fsdpeCMWhuvZFkMdH +rJ9pVugKWIPZ8F3VXZMZ0/NGDDeC35866esyNEMaxeppiCN6bDHHIXKEt6DDpBll +wn5WKgtTCBbzbdw7iHKRDEUDABcCgYEA8lmpftCxsBwii/NozbvFB+qGZ6w2wJHq +v0XzUySh5Z40vcHyvYH7oovw+8BqoItEU2R4XoYl6rC52zcRx1tP0Sgg/lxqHgCK +vBdSExJEUTRpTGfcQ5MjfufP1LWYF2JhyzGBC5z8DsMjlMOxETOsAAmSPjaL+yJz +lIB+0QQKyJUCgYEAvY4+OfOfZvB0fBuDW9GOeXoSQlp6nsLLCSKgrfAWWnr8eP7Y +YQvroAvVLJWasMXTvaNiWuMESWCPmhwyezuszuOV3FX7tvRj0mdPkTqXgFJUOTFC +wyeJi6TjecoFUR0Mx9mZwCkH+TaGTaDIZMLH4HebKOqezlf8O7ogUbp1eEsCgYB0 +Dx5NnfHKLd8ZeIrzI337CYQuN9nMpNRvnzck1QE3LmmBilUODiaMtEnGtmIZ2jfx +W8cNNV8JInMPGTNJbmAuAPKz/VvQXGAULXLfsTrITLo0nfRs5BT2nFr6ObDJWhMN +NPrgreBDzY3Hm2O7oiw3pF3Fr2ef7+K79kFFJZNodQKBgH5ZOibAlJkpEqvkHO88 +RY5ITEzkstaKW8ktkNjkqbCk3EVjl+nfKcEexKpbDPMfPEfowG8zfNTDd9AMoCV2 +zzCvHJThxc+W9dPLfEgjE87Ci2lcJx5+hjGpgTbgAX/pglc3gnrdKRoILXdQd0Ar +oDim4HdjGEK2jM6YMvcRnjFp +-----END PRIVATE KEY----- diff --git a/examples/tls/rsa/testing--server--rsa--request.pem b/examples/tls/rsa/testing--server--rsa--request.pem new file mode 100644 index 0000000..eaadda9 --- /dev/null +++ b/examples/tls/rsa/testing--server--rsa--request.pem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kr0cMNbN6wZcTGCOGArltg8Vgajm+BcC +AnxY9OydpVPKNq4XrGgBFAY8P1q3NhMLXv2Vk5Aju87as8knTyr2RCjQ+3oDw1Fk +wjTo59SJ1mATL5kzCGDlsAZlEiY4d8IJvRs5 +-----END NEW CERTIFICATE REQUEST----- diff --git a/examples/tls/testing--ca.pem b/examples/tls/testing--ca.pem new file mode 100644 index 0000000..e2a40b6 --- /dev/null +++ b/examples/tls/testing--ca.pem @@ -0,0 +1,36 @@ +-----BEGIN CERTIFICATE----- +MIIDxTCCAq2gAwIBAgIBATANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtrYXdp +cGlrby1jYTAeFw0yMDAxMDEwMDAwMDBaFw00MDEyMzEyMzU5NTlaMBYxFDASBgNV +BAMTC2thd2lwaWtvLWNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA +qVvdvjwNaOykQoa/Qz2GkiY/qUEL4vFuLoUAy2UqWuCTsWFYdMcK67KGGz6u9BRq +7t5MTx3/WIiNHLWA/A4nAL1To4jrE+3Aj/oYXXnozqk7z2lGCVywxgLbZBo2vWVG ++hgUEghikagU5fN3NsdTmdQeGnKv6Vm6ZJUNZDySYN1Tt50nzoA1pa5zvHlcLlzX +dQNr/A9L/hJpVqiEub25DgxXUsCJgA+1KFiY1rMWXY6pzelcVoiZ2A40oXVI2cst +UtNmTKwCvnyzlzMhgsLbY7iTp5xfnZE3QzIziaWkq9dOLqNi4oiaF4nkLjqzItjs +99lteqQ9c1cqyxGY8X0AEwIDAQABo4IBHDCCARgwDwYDVR0TAQH/BAUwAwEB/zCB +5QYDVR0eAQH/BIHaMIHXoIHUMAqHCH8AAAD/AAAAMAqCCGthd2lwaWtvMAuCCWxv +Y2FsaG9zdDAGggR0ZXN0MAmCB2V4YW1wbGUwDYILZXhhbXBsZS5jb20wDYILZXhh +bXBsZS5uZXQwDYILZXhhbXBsZS5vcmcwCYIHaW52YWxpZDAKgQhrYXdpcGlrbzAL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BC2V4YW1wbGUubmV0MA2BC2V4 +YW1wbGUub3JnMAmBB2ludmFsaWQwHQYDVR0OBBYEFNBVyhfrfaWPG/bQaHw0BL/V +Viq3MAUGAytlcANBAJQ1/xxifLV25+92zUki6efxjrDzKQ50WmK7vjMcFTrvPSg0 +K43TIK6/bV2YWAiAOTCdBjVYGhlF6tiPEeuingo= +-----END CERTIFICATE----- diff --git a/scripts/tls.z-run b/scripts/tls.z-run new file mode 100644 index 0000000..5471c2a --- /dev/null +++ b/scripts/tls.z-run @@ -0,0 +1,248 @@ +#!/dev/null + + + + +<< tls / generate / all + + test "${#}" -eq 0 + + "${ZRUN[@]}" ':: tls / generate / self-signed' + "${ZRUN[@]}" ':: tls / generate / testing / ca' + "${ZRUN[@]}" ':: tls / generate / testing / server' + "${ZRUN[@]}" ':: tls / generate / testing / client' +!! + + + + +<< tls / generate / self-signed + + test "${#}" -eq 0 + + for _type in rsa:sha256 ed25519:sha512 ; do + + _hash="${_type#*:}" + _type="${_type%:*}" + + certtool \ + --generate-privkey \ + --key-type "${_type}" \ + --sec-param medium \ + --pkcs8 \ + --pkcs-cipher aes-128 \ + --password '' \ + --outfile "./examples/tls/${_type}/self-signed--${_type}--private-key.pem" \ + --no-text \ + 2> /dev/null \ + # + + certtool \ + --generate-self-signed \ + --hash "${_hash}" \ + --pkcs8 \ + --password '' \ + --load-privkey "./examples/tls/${_type}/self-signed--${_type}--private-key.pem" \ + --outfile "./examples/tls/${_type}/self-signed--${_type}--certificate.pem" \ + --template "./examples/tls/conf/self-signed--any--certificate.conf" \ + --no-text \ + 2> /dev/null \ + # + + cat -- \ + "./examples/tls/${_type}/self-signed--${_type}--certificate.pem" \ + "./examples/tls/${_type}/self-signed--${_type}--private-key.pem" \ + >| "./examples/tls/${_type}/self-signed--${_type}--bundle.pem" \ + # + + openssl pkcs12 \ + -export \ + -name bundle \ + -password pass:bundle \ + -des3 -descert -macalg sha1 \ + -in "./examples/tls/${_type}/self-signed--${_type}--bundle.pem" \ + -out "./examples/tls/${_type}/self-signed--${_type}--bundle.p12" \ + # + + done +!! + + + + +<< tls / generate / testing / ca + + test "${#}" -eq 0 + + for _type in rsa:sha256 ed25519:sha512 ; do + _hash="${_type#*:}" + _type="${_type%:*}" + + certtool \ + --generate-privkey \ + --key-type "${_type}" \ + --sec-param medium \ + --pkcs8 \ + --pkcs-cipher aes-128 \ + --password '' \ + --outfile "./examples/tls/${_type}/testing--ca--${_type}--private-key.pem" \ + --no-text \ + 2> /dev/null \ + # + + certtool \ + --generate-self-signed \ + --hash "${_hash}" \ + --pkcs8 \ + --password '' \ + --load-privkey "./examples/tls/${_type}/testing--ca--${_type}--private-key.pem" \ + --outfile "./examples/tls/${_type}/testing--ca--${_type}--certificate.pem" \ + --template "./examples/tls/conf/testing--ca--any--certificate.conf" \ + --no-text \ + 2> /dev/null \ + # + done + + cat -- \ + "./examples/tls/rsa/testing--ca--rsa--certificate.pem" \ + "./examples/tls/ed25519/testing--ca--ed25519--certificate.pem" \ + >| "./examples/tls/testing--ca.pem" \ + # +!! + + + + +<< tls / generate / testing / server + + test "${#}" -eq 0 + + for _type in rsa:sha256 ed25519:sha512 ; do + _hash="${_type#*:}" + _type="${_type%:*}" + + certtool \ + --generate-privkey \ + --key-type "${_type}" \ + --sec-param medium \ + --pkcs8 \ + --pkcs-cipher aes-128 \ + --password '' \ + --outfile "./examples/tls/${_type}/testing--server--${_type}--private-key.pem" \ + --no-text \ + 2> /dev/null \ + # + + certtool \ + --generate-request \ + --hash "${_hash}" \ + --pkcs8 \ + --password '' \ + --load-privkey "./examples/tls/${_type}/testing--server--${_type}--private-key.pem" \ + --outfile "./examples/tls/${_type}/testing--server--${_type}--request.pem" \ + --template "./examples/tls/conf/testing--server--any--certificate.conf" \ + --no-text \ + 2> /dev/null \ + # + + certtool \ + --generate-certificate \ + --hash "${_hash}" \ + --pkcs8 \ + --password '' \ + --load-ca-privkey "./examples/tls/${_type}/testing--ca--${_type}--private-key.pem" \ + --load-ca-certificate "./examples/tls/${_type}/testing--ca--${_type}--certificate.pem" \ + --load-request "./examples/tls/${_type}/testing--server--${_type}--request.pem" \ + --outfile "./examples/tls/${_type}/testing--server--${_type}--certificate.pem" \ + --template "./examples/tls/conf/testing--server--any--certificate.conf" \ + --no-text \ + 2> /dev/null \ + # + + cat -- \ + "./examples/tls/${_type}/testing--server--${_type}--certificate.pem" \ + "./examples/tls/${_type}/testing--ca--${_type}--certificate.pem" \ + "./examples/tls/${_type}/testing--server--${_type}--private-key.pem" \ + >| "./examples/tls/${_type}/testing--server--${_type}--bundle.pem" \ + # + + openssl pkcs12 \ + -export \ + -name bundle \ + -password pass:bundle \ + -des3 -descert -macalg sha1 \ + -in "./examples/tls/${_type}/testing--server--${_type}--bundle.pem" \ + -out "./examples/tls/${_type}/testing--server--${_type}--bundle.p12" \ + # + + done +!! + + + + +<< tls / generate / testing / client + + test "${#}" -eq 0 + + for _type in rsa:sha256 ed25519:sha512 ; do + _hash="${_type#*:}" + _type="${_type%:*}" + + certtool \ + --generate-privkey \ + --key-type "${_type}" \ + --sec-param medium \ + --pkcs8 \ + --pkcs-cipher aes-128 \ + --password '' \ + --outfile "./examples/tls/${_type}/testing--client--${_type}--private-key.pem" \ + --no-text \ + 2> /dev/null \ + # + + certtool \ + --generate-request \ + --hash "${_hash}" \ + --pkcs8 \ + --password '' \ + --load-privkey "./examples/tls/${_type}/testing--client--${_type}--private-key.pem" \ + --outfile "./examples/tls/${_type}/testing--client--${_type}--request.pem" \ + --template "./examples/tls/conf/testing--client--any--certificate.conf" \ + --no-text \ + 2> /dev/null \ + # + + certtool \ + --generate-certificate \ + --hash "${_hash}" \ + --pkcs8 \ + --password '' \ + --load-ca-privkey "./examples/tls/${_type}/testing--ca--${_type}--private-key.pem" \ + --load-ca-certificate "./examples/tls/${_type}/testing--ca--${_type}--certificate.pem" \ + --load-request "./examples/tls/${_type}/testing--client--${_type}--request.pem" \ + --outfile "./examples/tls/${_type}/testing--client--${_type}--certificate.pem" \ + --template "./examples/tls/conf/testing--client--any--certificate.conf" \ + --no-text \ + 2> /dev/null \ + # + + cat -- \ + "./examples/tls/${_type}/testing--client--${_type}--certificate.pem" \ + "./examples/tls/${_type}/testing--ca--${_type}--certificate.pem" \ + "./examples/tls/${_type}/testing--client--${_type}--private-key.pem" \ + >| "./examples/tls/${_type}/testing--client--${_type}--bundle.pem" \ + # + + openssl pkcs12 \ + -export \ + -name bundle \ + -password pass:bundle \ + -des3 -descert -macalg sha1 \ + -in "./examples/tls/${_type}/testing--client--${_type}--bundle.pem" \ + -out "./examples/tls/${_type}/testing--client--${_type}--bundle.p12" \ + # + + done +!! + diff --git a/scripts/z-run b/scripts/z-run index 692a7dd..8ea0afd 100644 --- a/scripts/z-run +++ b/scripts/z-run @@ -9,6 +9,7 @@ ::// go / ... ::// documentation / ... ::// tools / ... +::// tls / ... ::// * @@ -19,4 +20,5 @@ && _/benchmark.z-run && _/workspace.z-run && _/tools.z-run +&& _/tls.z-run