diff --git a/sample-config/ca.crt b/sample-config/ca.crt new file mode 100644 index 0000000..90301f3 --- /dev/null +++ b/sample-config/ca.crt @@ -0,0 +1,29 @@ +-----BEGIN CERTIFICATE----- +MIIE9TCCA12gAwIBAgICKAUwDQYJKoZIhvcNAQELBQAwgYsxCzAJBgNVBAYTAkVT +MREwDwYDVQQIEwhWYWxlbmNpYTERMA8GA1UEBxMIVmFsZW5jaWExGzAZBgNVBAkT +EkMvRmFrZSBBZGRyZXNzIDEyMzEOMAwGA1UEERMFNDYyNTAxEzARBgNVBAoTCkVt +cHJlc2EgU0wxFDASBgNVBAMTC2VtcHJlc2EuY29tMB4XDTI0MDYxMTA2MjMwN1oX +DTM0MDYxMTA2MjMwN1owgYsxCzAJBgNVBAYTAkVTMREwDwYDVQQIEwhWYWxlbmNp +YTERMA8GA1UEBxMIVmFsZW5jaWExGzAZBgNVBAkTEkMvRmFrZSBBZGRyZXNzIDEy +MzEOMAwGA1UEERMFNDYyNTAxEzARBgNVBAoTCkVtcHJlc2EgU0wxFDASBgNVBAMT +C2VtcHJlc2EuY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2PHx +wmYSOPqa0ilVYy22BlAKI9gIBuAiiOdklIJ3/M/oVQsOSuJN2DdiA/lsGMjVuMh6 +yMs8k8JEEBy5a6ZxEQ1NUFysfw6n1Kl4vDdBQncKRWNdDi0MhPIOU6c4RPDYnSmg +qYZSo1IAV8fO9Gxyi9+LiwDzoIwPr/U/BXnPTHO+j7/trHzTr2g9gJwYnJA20ysw +ThAYaat5ymS8tYkb27mrBWRERQFccavziJ6r7c5kgj8ONNg7/v89cE/ufve1fo9a +UoSCEn6+frQ+hLwwIAiFLu1LXUfR3J9pjSKKC/bR2KeImxAs16gGynM0C0LDAi+e +hu1xwwvVNhS66pcM+9Ayndtkghq83BlZgmYvSJot9+0wDxyRudOtMac7bubv+OTJ +3JmPZdrTSB4WUA3ogNneeN7ksZg6oBHj53y20NS0Pi4AqyTyVITJeZdpG98/3zq2 +hlKDWjma0Hm40hLK7JZVSXLSt7Sno7ThHRms1IiZ3FjpNF5DqpEzYH22AqvbAgMB +AAGjYTBfMA4GA1UdDwEB/wQEAwIChDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUvIOM57LJ4kVoWdqa+C8F +fdrM/1kwDQYJKoZIhvcNAQELBQADggGBAEJhOSc0YwXg3QgLCHj8xzb3kNBik0Wb +pGOgtkCFY/zudIeFQgl6aWR9kDAJ0kDPsMHg/8moxiGHq6+iVsbr27y8KbH6p0lS +IqSJUC8in3Ae26bHXNIJVqQaEoJ8xdGR2Gfbal/EvGp00vM7ql6jo7v6YBanB7dX +szbOc6guPOeKQjWYmFTnyfdeaasiZt4WSUfN4vN1weaPwoOIF+qcqeY0Hkg3Qxt+ +aEYbrrc1BuCooV7u0ki/lLPTomk4XsyuJcbcLpO/zK4DNbaOWx8zYMWmaLIt4Jvr +PGmg3IBjGi2CS2xZfDkjW0EtulGMzggKaJuPZihm4QXjhs52rZAEsmiRUhoHlGAb +nQTppo+BzCT8dcJq4elk6kmOAAU5WXmOZL/7OKjAFhbG9r0c8z5NOv93UtcdhpkI +ygJ5gRNdXkXhLzNUuZvtb1JmFrx3oMiRZgKsku3XLdyf6vvWpGDimw0ljMdOoxUu +uUQ3vi/K0kdI/wtkbuIYmoEeLzvo8fnDtQ== +-----END CERTIFICATE----- diff --git a/sample-config/ca.key b/sample-config/ca.key new file mode 100644 index 0000000..6a43e2f --- /dev/null +++ b/sample-config/ca.key @@ -0,0 +1,40 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIG4gIBAAKCAYEA2PHxwmYSOPqa0ilVYy22BlAKI9gIBuAiiOdklIJ3/M/oVQsO +SuJN2DdiA/lsGMjVuMh6yMs8k8JEEBy5a6ZxEQ1NUFysfw6n1Kl4vDdBQncKRWNd +Di0MhPIOU6c4RPDYnSmgqYZSo1I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dKJNfSjx53sm5eYg0eCR +/blZbE+ClNF9S0Yn5itNQ1XhD7Cv+9IzJAmA07yMuSJx0/nw9n4= +-----END RSA PRIVATE KEY----- +--- diff --git a/cert400.toml.example b/sample-config/cert400.toml similarity index 100% rename from cert400.toml.example rename to sample-config/cert400.toml diff --git a/sample-config/clientCertificates/www.yourcompany.com.crt b/sample-config/clientCertificates/www.yourcompany.com.crt new file mode 100644 index 0000000..bfdbc77 --- /dev/null +++ b/sample-config/clientCertificates/www.yourcompany.com.crt @@ -0,0 +1,30 @@ +-----BEGIN CERTIFICATE----- +MIIFIDCCA4igAwIBAgICTc4wDQYJKoZIhvcNAQELBQAwgYsxCzAJBgNVBAYTAkVT +MREwDwYDVQQIEwhWYWxlbmNpYTERMA8GA1UEBxMIVmFsZW5jaWExGzAZBgNVBAkT +EkMvRmFrZSBBZGRyZXNzIDEyMzEOMAwGA1UEERMFNDYyNTAxEzARBgNVBAoTCkVt +cHJlc2EgU0wxFDASBgNVBAMTC2VtcHJlc2EuY29tMB4XDTI0MDYxMTA2MjM0OFoX +DTM0MDYxMTA2MjM0OFowgZMxCzAJBgNVBAYTAkVTMREwDwYDVQQIEwhWYWxlbmNp +YTERMA8GA1UEBxMIVmFsZW5jaWExGzAZBgNVBAkTEkMvRmFrZSBBZGRyZXNzIDEy +MzEOMAwGA1UEERMFNDYyNTAxEzARBgNVBAoTCkVtcHJlc2EgU0wxHDAaBgNVBAMT +E3d3dy55b3VyY29tcGFueS5jb20wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGK +AoIBgQCofpbE8/wz0M96Yr3l1dc3ScV7UwYLFHLxouHj1EoFKWrstL/NJ+uphpwz +kKyo+UXGWs+SUvEC1RNAQAtvAbrLKfMqFxzwBR4l+DUTI/gJcuIRkehAGj1nVlxb +dzqoVB68LkSL3nfo2omWyhjNLidDvCSmkcBRmRBDxnJYOs58i3nQwvz50+a58hcH +2RYNEVX77yrSfOplGmlUsO2pDYuOC266A2G2Cvi8Viw8Us3uSDYQutGZqv76+IaP +YMx388viwDBc420NeN4F1RSYqK8Gq+xXmOlDx1TdpSCh0SC8DFUJd7LEW3va6/VN +WeaJ/QkMN/E0DDev8zNAUg2M+4JhzR0FRb40lCIcifuP4HCb4PKTPH2uZ7/4QIe/ +SSJcx5O+SmXJEZl9BzrDtBL/2lTIdnFxfsE+3O6M1Na6bXedBZ/2EQUAYm9dTTPK +ASXms0qLEoWw2FpanUgKiBwOLJ1NGKXmTK3xK7qXeM9XjkfSS8ceGUi6STKjGYkS +h8lYEjcCAwEAAaOBgzCBgDAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYIKwYB +BQUHAwIGCCsGAQUFBwMBMA4GA1UdDgQHBAUBAgMEBjAfBgNVHSMEGDAWgBS8g4zn +ssniRWhZ2pr4LwV92sz/WTAeBgNVHREEFzAVghN3d3cueW91cmNvbXBhbnkuY29t +MA0GCSqGSIb3DQEBCwUAA4IBgQAPkn//HhwTkdiqyKjNQeivTM4nAjrun2AhBvZI +srNd4x8Us9kb3DBGrKhOAlJTuE/+q93V12dFLMd1IPIlHJptaBcFvDys8H4FVQTZ +APeE2LGf/Hap2E5dmZCQymtZGr+qrvrQNMHRDcAvpMYGoNkue0LcHj/i4s6a8rR+ +qgrbXNkTaC8dC3QHTpmgHk87GqW3ZF8/rdRSiPbzGtJTRFZGFt1HFBccKrJpE93/ +GTiYGVl/wGRNwpvVh1mxIEolTajU0l0tQsl5yhx93xjsVwTEWmnOXjKscDnZvRCj +FTvtbdc6dk2W3UPzZxalIhnjGaDQy+m/EmHKPzRXV6b4f4XfUEFMcfdACJwIk+qf +y9FnWqf6gL0WGShf7+xZcmg6eFLP9gClz5ik47R4qKg6rlE0fy9TImwGfluocAiC +hmS9VeN9K0prSVEpawjWBqtWVmKKYOI7e3LdBGo4LTtZY+/y0I4Ejd/IAzxdmZzF +HR0zraGiOmYOm+O6eKps0H82aj4= +-----END CERTIFICATE----- diff --git a/sample-config/clientCertificates/www.yourcompany.com.key b/sample-config/clientCertificates/www.yourcompany.com.key new file mode 100644 index 0000000..e0b448e --- /dev/null +++ b/sample-config/clientCertificates/www.yourcompany.com.key @@ -0,0 +1,39 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIG5AIBAAKCAYEAqH6WxPP8M9DPemK95dXXN0nFe1MGCxRy8aLh49RKBSlq7LS/ +zSfrqYacM5CsqPlFxlrPklLxAtUTQEALbwG6yynzKhcc8AUeJfg1EyP4CXLiEZHo +QBo9Z1ZcW3c6qFQevC5Ei9536NqJlsoYzS4nQ7wkppHAUZkQQ8ZyWDrOfIt50ML8 ++dPmufIXB9kWDRFV++8q0nzqZRppVLDtqQ2LjgtuugNhtgr4vFYsPFLN7kg2ELrR +mar++viGj2DMd/PL4sAwXONtDXjeBdUUmKivBqvsV5jpQ8dU3aUgodEgvAxVCXey +xFt72uv1TVnmif0JDDfxNAw3r/MzQFINjPuCYc0dBUW+NJQiHIn7j+Bwm+Dykzx9 +rme/+ECHv0kiXMeTvkplyRGZfQc6w7QS/9pUyHZxcX7BPtzujNTWum13nQWf9hEF +AGJvXU0zygEl5rNKixKFsNhaWp1ICogcDiydTRil5kyt8Su6l3jPV45H0kvHHhlI +ukkyoxmJEofJWBI3AgMBAAECggGAZOSgTUE39KMFiehUg6qfm3iuKuGVDc9p4K1D +DBSTWjHp1+GHtEZCRBnZsLrh2LCjClpYTushbCvAwklXT1o+yubMt5hteH/oBJ5y +0YpJPQcwvYqcAr5zpEw/M3nagu8UFGS0IPjO3nz1xHgxj7MiSdoALEm8WmAIMD1F +PPXBrSwrfkk0CDjNwOxoxAdGv/5weVJGVxH7nRzKk676MK9usFjCLdpWiRZayRPk +mx6ONy/ASBZF6flNg2SL1pEE/pLZuzS1dK4VQ0OnWIpkwcukCZ0t2ZBqfewB+qM0 +eStg57Lhh1FBel/votulajSTg8QLMb7nhS8sKGPNs6QrTOi+5KE+lH07ZnjzHlqj +RC6skKXyOH2R7FTkytoCVK6OsTtsqRv0n1v47YakHFwH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