From e55dfdbde73c7997c39317c8cfbc99dda9340dfb Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Thu, 1 Apr 2021 16:22:27 +1000 Subject: [PATCH 1/4] stack.yaml: Bump resolver https://github.com/input-output-hk/cardano-haskell/pull/43 --- stack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.yaml b/stack.yaml index 52b100c2092..30d6e98c6de 100644 --- a/stack.yaml +++ b/stack.yaml @@ -3,7 +3,7 @@ # # NOTE: Remember to update the version matrix in README.md when # bumping the Cardano version. -resolver: https://raw.githubusercontent.com/input-output-hk/cardano-haskell/231870a3b785f569daef0596b3a1657324c9394a/snapshots/cardano-1.25.1-GHC-8.10.4.yaml +resolver: https://raw.githubusercontent.com/input-output-hk/cardano-haskell/cd67c3f16b6c17afe76fbd3e5cefe3be0ad51147/snapshots/cardano-1.25.1.yaml packages: - lib/core From f59c686c0a1582d19a26350857d25dcc3e2bffe5 Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Thu, 1 Apr 2021 16:27:34 +1000 Subject: [PATCH 2/4] TlsSpec: Add a function for regenerating test certificates --- lib/core/cardano-wallet-core.cabal | 1 + lib/core/test/data/PKIs/README.md | 2 + lib/core/test/data/PKIs/cardano-sl-x509.yaml | 21 ++++ .../unit/Cardano/Wallet/Api/Server/TlsSpec.hs | 99 +++++++++++++------ 4 files changed, 92 insertions(+), 31 deletions(-) create mode 100644 lib/core/test/data/PKIs/README.md create mode 100644 lib/core/test/data/PKIs/cardano-sl-x509.yaml diff --git a/lib/core/cardano-wallet-core.cabal b/lib/core/cardano-wallet-core.cabal index 83e23226847..c897056909b 100644 --- a/lib/core/cardano-wallet-core.cabal +++ b/lib/core/cardano-wallet-core.cabal @@ -251,6 +251,7 @@ test-suite unit , cardano-wallet-core , cardano-wallet-launcher , cardano-wallet-test-utils + , cardano-sl-x509 , cardano-slotting , cborg , connection diff --git a/lib/core/test/data/PKIs/README.md b/lib/core/test/data/PKIs/README.md new file mode 100644 index 00000000000..1155c94eee4 --- /dev/null +++ b/lib/core/test/data/PKIs/README.md @@ -0,0 +1,2 @@ +To regenerate these test data files (e.g. when they expire), delete +the directories `./PKI/*` and re-run the `Cardano.Wallet.Api.Server.TlsSpec` unit tests. diff --git a/lib/core/test/data/PKIs/cardano-sl-x509.yaml b/lib/core/test/data/PKIs/cardano-sl-x509.yaml new file mode 100644 index 00000000000..1752d5cb461 --- /dev/null +++ b/lib/core/test/data/PKIs/cardano-sl-x509.yaml @@ -0,0 +1,21 @@ +dev: + tls: + ca: + organization: "Input Output HK" + commonName: "cardano-wallet Self-Signed Root CA" + expiryDays: 3650 + + server: + organization: "Input Output HK" + commonName: "cardano-wallet API Server" + expiryDays: 365 + altDNS: + - "localhost" + - "localhost.localdomain" + - "127.0.0.1" + - "::1" + + clients: + - organization: "Input Output HK" + commonName: "cardano-wallet Test Suite" + expiryDays: 365 diff --git a/lib/core/test/unit/Cardano/Wallet/Api/Server/TlsSpec.hs b/lib/core/test/unit/Cardano/Wallet/Api/Server/TlsSpec.hs index 59686b27b61..c55d770058f 100644 --- a/lib/core/test/unit/Cardano/Wallet/Api/Server/TlsSpec.hs +++ b/lib/core/test/unit/Cardano/Wallet/Api/Server/TlsSpec.hs @@ -10,6 +10,16 @@ import Prelude import Cardano.Wallet.Api.Server ( Listen (..), TlsConfiguration (..), withListeningSocket ) +import Cardano.X509.Configuration + ( CertDescription (..) + , ConfigurationKey (..) + , DirConfiguration (..) + , decodeConfigFile + , fromConfiguration + , genCertificate + ) +import Control.Monad + ( unless ) import Control.Tracer ( nullTracer ) import Data.ByteString.Lazy @@ -22,6 +32,8 @@ import Data.X509 ( CertificateChain (..) ) import Data.X509.CertificateStore ( makeCertificateStore ) +import Data.X509.Extra + ( encodePEM, genRSA256KeyPair ) import Data.X509.File ( readKeyFile, readSignedObject ) import Network.Connection @@ -56,8 +68,12 @@ import Network.TLS.Extra.Cipher ( ciphersuite_default ) import Network.Wai ( responseLBS ) +import System.Directory + ( createDirectoryIfMissing, doesDirectoryExist ) import System.FilePath - ( () ) + ( takeFileName, (<.>), () ) +import System.IO + ( hPutStrLn, stderr ) import Test.Hspec ( Spec, describe, it, shouldBe, shouldThrow ) import Test.Utils.Paths @@ -70,6 +86,7 @@ import UnliftIO.Exception ( fromException ) import qualified Cardano.Wallet.Api.Server as Server +import qualified Data.ByteString as BS import qualified Network.HTTP.Types.Status as Http import qualified Network.Wai as Wai import qualified Network.Wai.Handler.Warp as Warp @@ -79,16 +96,8 @@ spec = describe "TLS Client Authentication" $ do it "Respond to authenticated client if TLS is enabled" $ do pendingOnWine "CertOpenSystemStoreW is failing under Wine" withListeningSocket "*" ListenOnRandomPort $ \(Right (port, socket)) -> do - let tlsSv = TlsConfiguration - { tlsCaCert = rootPKI 1 "ca.crt" - , tlsSvCert = rootPKI 1 "server.crt" - , tlsSvKey = rootPKI 1 "server.key" - } - let tlsCl = TlsConfiguration - { tlsCaCert = rootPKI 1 "ca.crt" - , tlsSvCert = rootPKI 1 "client.crt" - , tlsSvKey = rootPKI 1 "client.key" - } + tlsSv <- rootPKI 1 "server" + tlsCl <- rootPKI 1 "client" link =<< async (Server.start warpSettings nullTracer (Just tlsSv) socket app) @@ -101,16 +110,8 @@ spec = describe "TLS Client Authentication" $ do it "Deny client with wrong certificate if TLS is enabled" $ do pendingOnWine "CertOpenSystemStoreW is failing under Wine" withListeningSocket "*" ListenOnRandomPort $ \(Right (port, socket)) -> do - let tlsSv = TlsConfiguration - { tlsCaCert = rootPKI 1 "ca.crt" - , tlsSvCert = rootPKI 1 "server.crt" - , tlsSvKey = rootPKI 1 "server.key" - } - let tlsCl = TlsConfiguration - { tlsCaCert = rootPKI 2 "ca.crt" - , tlsSvCert = rootPKI 2 "client.crt" - , tlsSvKey = rootPKI 2 "client.key" - } + tlsSv <- rootPKI 1 "server" + tlsCl <- rootPKI 2 "client" link =<< async (Server.start warpSettings nullTracer (Just tlsSv) socket app) @@ -124,11 +125,7 @@ spec = describe "TLS Client Authentication" $ do it "Properly deny HTTP connection if TLS is enabled" $ do withListeningSocket "*" ListenOnRandomPort $ \(Right (port, socket)) -> do - let tlsSv = TlsConfiguration - { tlsCaCert = rootPKI 1 "ca.crt" - , tlsSvCert = rootPKI 1 "server.crt" - , tlsSvKey = rootPKI 1 "server.key" - } + tlsSv <- rootPKI 1 "server" link =<< async (Server.start warpSettings nullTracer (Just tlsSv) socket app) @@ -138,6 +135,51 @@ spec = describe "TLS Client Authentication" $ do , statusMessage = "Upgrade Required" } +-- +-- Test data +-- + +rootPKI :: Int -> FilePath -> IO TlsConfiguration +rootPKI i subdir = do + let dir = $(getTestData) "PKIs" show i + exists <- doesDirectoryExist dir + unless exists $ do + hPutStrLn stderr $ "rootPKI: There's no PKI for index #" <> show i + genPKI dir + hPutStrLn stderr $ "rootPKI: Created " <> dir + pure TlsConfiguration + { tlsCaCert = dir "ca.crt" + , tlsSvCert = dir subdir subdir <.> "crt" + , tlsSvKey = dir subdir subdir <.> "key" + } + +genPKI :: FilePath -> IO () +genPKI dir = do + cfg <- decodeConfigFile (ConfigurationKey "dev") confFile + (caDesc, certDescs) <- + fromConfiguration cfg dirConf genRSA256KeyPair <$> genRSA256KeyPair + genCertificate (findCert "client" certDescs) >>= writePEM "client" + genCertificate (findCert "server" certDescs) >>= writePEM "server" + genCertificate caDesc >>= writeCert "ca" + where + dirConf = DirConfiguration + { outDirServer = dir "server" + , outDirClients = dir "client" + , outDirCA = Just dir + } + confFile = $(getTestData) "PKIs" "cardano-sl-x509.yaml" + writePEM f (key, cert) = do + createDirectoryIfMissing True (dir f) + let base = dir f f + let cert' = encodePEM cert + let key' = encodePEM key + BS.writeFile (base <.> "crt") cert' + BS.writeFile (base <.> "key") key' + BS.writeFile (base <.> "pem") $ key' <> "\n" <> cert' <> "\n" + writeCert f = BS.writeFile (dir f <.> "crt") . encodePEM . snd + + findCert outDir = head . filter ((== outDir) . takeFileName . certOutDir) + -- -- Test Application -- @@ -148,11 +190,6 @@ warpSettings = Warp.defaultSettings -- annoying... & Warp.setOnException (\_ _ -> pure ()) -rootPKI :: Int -> FilePath -rootPKI i - | i `elem` [1,2] = $(getTestData) "PKIs" show i - | otherwise = error $ "rootPKI: There's no PKI for index #" <> show i - app :: Wai.Application app _request respond = respond $ responseLBS Http.status200 [] "All your bases are belong to us!" From af8c3e7d60cb9543d5187eec6bc3b63598d4e514 Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Thu, 1 Apr 2021 16:30:41 +1000 Subject: [PATCH 3/4] Regenerate TlsSpec certificates --- lib/core/test/data/PKIs/1/ca.crt | 36 +++++++-------- lib/core/test/data/PKIs/1/client.crt | 20 --------- lib/core/test/data/PKIs/1/client.key | 27 ------------ lib/core/test/data/PKIs/1/client.pem | 47 -------------------- lib/core/test/data/PKIs/1/client/client.crt | 20 +++++++++ lib/core/test/data/PKIs/1/client/client.key | 27 ++++++++++++ lib/core/test/data/PKIs/1/client/client.pem | 47 ++++++++++++++++++++ lib/core/test/data/PKIs/1/server.crt | 22 --------- lib/core/test/data/PKIs/1/server.key | 27 ------------ lib/core/test/data/PKIs/1/server.pem | 49 --------------------- lib/core/test/data/PKIs/1/server/server.crt | 22 +++++++++ lib/core/test/data/PKIs/1/server/server.key | 27 ++++++++++++ lib/core/test/data/PKIs/1/server/server.pem | 49 +++++++++++++++++++++ lib/core/test/data/PKIs/2/ca.crt | 36 +++++++-------- lib/core/test/data/PKIs/2/client.crt | 20 --------- lib/core/test/data/PKIs/2/client.key | 27 ------------ lib/core/test/data/PKIs/2/client.pem | 47 -------------------- lib/core/test/data/PKIs/2/client/client.crt | 20 +++++++++ lib/core/test/data/PKIs/2/client/client.key | 27 ++++++++++++ lib/core/test/data/PKIs/2/client/client.pem | 47 ++++++++++++++++++++ lib/core/test/data/PKIs/2/server.crt | 22 --------- lib/core/test/data/PKIs/2/server.key | 27 ------------ lib/core/test/data/PKIs/2/server.pem | 49 --------------------- lib/core/test/data/PKIs/2/server/server.crt | 22 +++++++++ lib/core/test/data/PKIs/2/server/server.key | 27 ++++++++++++ lib/core/test/data/PKIs/2/server/server.pem | 49 +++++++++++++++++++++ 26 files changed, 420 insertions(+), 420 deletions(-) delete mode 100644 lib/core/test/data/PKIs/1/client.crt delete mode 100644 lib/core/test/data/PKIs/1/client.key delete mode 100644 lib/core/test/data/PKIs/1/client.pem create mode 100644 lib/core/test/data/PKIs/1/client/client.crt create mode 100644 lib/core/test/data/PKIs/1/client/client.key create mode 100644 lib/core/test/data/PKIs/1/client/client.pem delete mode 100644 lib/core/test/data/PKIs/1/server.crt delete mode 100644 lib/core/test/data/PKIs/1/server.key delete mode 100644 lib/core/test/data/PKIs/1/server.pem create mode 100644 lib/core/test/data/PKIs/1/server/server.crt create mode 100644 lib/core/test/data/PKIs/1/server/server.key create mode 100644 lib/core/test/data/PKIs/1/server/server.pem delete mode 100644 lib/core/test/data/PKIs/2/client.crt delete mode 100644 lib/core/test/data/PKIs/2/client.key delete mode 100644 lib/core/test/data/PKIs/2/client.pem create mode 100644 lib/core/test/data/PKIs/2/client/client.crt create mode 100644 lib/core/test/data/PKIs/2/client/client.key create mode 100644 lib/core/test/data/PKIs/2/client/client.pem delete mode 100644 lib/core/test/data/PKIs/2/server.crt delete mode 100644 lib/core/test/data/PKIs/2/server.key delete mode 100644 lib/core/test/data/PKIs/2/server.pem create mode 100644 lib/core/test/data/PKIs/2/server/server.crt create mode 100644 lib/core/test/data/PKIs/2/server/server.key create mode 100644 lib/core/test/data/PKIs/2/server/server.pem diff --git a/lib/core/test/data/PKIs/1/ca.crt b/lib/core/test/data/PKIs/1/ca.crt index a0cb93998c8..a6f9d942e09 100644 --- a/lib/core/test/data/PKIs/1/ca.crt +++ b/lib/core/test/data/PKIs/1/ca.crt @@ -1,20 +1,20 @@ -----BEGIN CERTIFICATE----- -MIIDSDCCAjCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRgwFgYDVQQKDA9JbnB1 -dCBPdXRwdXQgSEsxJzAlBgNVBAMMHkNhcmRhbm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puCSZCxFigR6jlzeXl3 +oDs7L/5YC+GT5+IgJ+akGQIp7FQkzk4V3+7IVFSeBxZ0konl -----END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/1/client.crt b/lib/core/test/data/PKIs/1/client.crt deleted file mode 100644 index a2048b71705..00000000000 --- a/lib/core/test/data/PKIs/1/client.crt +++ /dev/null @@ -1,20 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDSDCCAjCgAwIBAgIBAzANBgkqhkiG9w0BAQsFADBDMRgwFgYDVQQKDA9JbnB1 -dCBPdXRwdXQgSEsxJzAlBgNVBAMMHkNhcmRhbm8gU0wgU2VsZi1TaWduZWQgUm9v -dCBDQTAeFw0yMDAzMzAxMjI5MjBaFw0yMTAzMzAxMjMwMjBaMDQxGDAWBgNVBAoM -D0lucHV0IE91dHB1dCBISzEYMBYGA1UEAwwPRGFlZGFsdXMgV2FsbGV0MIIBIjAN -BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApJC9HzpLA8zQmH2q8bBGWBEj9/Hh -+ILqIBFAh9W2/eoUt6/gSWxpNg7kCTc9qXxk0TJta/RQQOCAlCY96YJesTspCoRq -hKCK1cKxwgeI7hqP89R7rUJDJQ9JObB3T87922LTnvgcNt1TdKnzHuV5ptYCINBw -vWeMvEoUgpH1TnsY19jAixAmGF+82/gNrEOBg1PE/iEmzY5bOSdgpd7XdzUjO0wf -xenT7VpfQl0gSeQwjsQ/iYM0l+5b2SqIg0jNzO4puVay3VJWq5Q0H8f1Iozhupp9 -4F2eKeLlIQ1odaJmbIsAgWOWyejbUGGCtXd8P8Nv+JdL6dU/cayPoMqd4QIDAQAB -o1YwVDAPBgNVHQ8BAf8EBQMDB6AAMBMGA1UdJQQMMAoGCCsGAQUFBwMCMAwGA1Ud -EwQFMAMBAQAwDQYDVR0OBAYEBPzFHxwwDwYDVR0jBAgwBoAEbAuo6DANBgkqhkiG -9w0BAQsFAAOCAQEARUhrqs0lbwHhcXfsZbzWL5R8xibOj1SQThvUfg7KOLcM+Cef -R4hrVbHU+wshDQtNZ54GMYa/2C0TjysWRFUCKcR1bHSw7u3GqK1ate707SmwJU1y -f4XhoEZqEdsu3FDvb/3Ihf0M3Z+Mq6Z2kLYWmx167e+PkPnvRzBYxO8u1psPfGb4 -WAyF/L1MzHDcwVXnCrd/z/rDslHQ0V34kwD4jtIW11gW3ZdaIUvyn+tPi2s8LV6R -9ntgOR+DsK37Wb0xvxY6eFkLp2MbNxmQw0zNPlmRBZABSB8MBe5OGWLnrPsCoCkE -BdKE3w2tXDDaSc0JZ91Oj2WlXGzetNA2KD7Lag== ------END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/1/client.key b/lib/core/test/data/PKIs/1/client.key deleted file mode 100644 index 0b6faf7ff5f..00000000000 --- a/lib/core/test/data/PKIs/1/client.key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEApJC9HzpLA8zQmH2q8bBGWBEj9/Hh+ILqIBFAh9W2/eoUt6/g -SWxpNg7kCTc9qXxk0TJta/RQQOCAlCY96YJesTspCoRqhKCK1cKxwgeI7hqP89R7 -rUJDJQ9JObB3T87922LTnvgcNt1TdKnzHuV5ptYCINBwvWeMvEoUgpH1TnsY19jA -ixAmGF+82/gNrEOBg1PE/iEmzY5bOSdgpd7XdzUjO0wfxenT7VpfQl0gSeQwjsQ/ -iYM0l+5b2SqIg0jNzO4puVay3VJWq5Q0H8f1Iozhupp94F2eKeLlIQ1odaJmbIsA -gWOWyejbUGGCtXd8P8Nv+JdL6dU/cayPoMqd4QIDAQABAoIBAG9UO51Uokr/1F5V -JcA7sFsDvYGPcX/dkOYAxdcfDZzZLwrVQLZrUQHxMPPLGzv9m3aq1ruhnGlHd7TB -6kB+ofDkRO+IhUcUFNhnzjmlP01VSu15YfHkUehQXwlYCF9FeRdh1ChHUU8Mi9jw -4DiWpaXoQahRWvPHib4Xn6h1da6RIfiB8E9co7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VATE KEY----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/1/client.pem b/lib/core/test/data/PKIs/1/client.pem deleted file mode 100644 index b1a71b0bfa2..00000000000 --- a/lib/core/test/data/PKIs/1/client.pem +++ /dev/null @@ -1,47 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEApJC9HzpLA8zQmH2q8bBGWBEj9/Hh+ILqIBFAh9W2/eoUt6/g -SWxpNg7kCTc9qXxk0TJta/RQQOCAlCY96YJesTspCoRqhKCK1cKxwgeI7hqP89R7 -rUJDJQ9JObB3T87922LTnvgcNt1TdKnzHuV5ptYCINBwvWeMvEoUgpH1TnsY19jA -ixAmGF+82/gNrEOBg1PE/iEmzY5bOSdgpd7XdzUjO0wfxenT7VpfQl0gSeQwjsQ/ -iYM0l+5b2SqIg0jNzO4puVay3VJWq5Q0H8f1Iozhupp94F2eKeLlIQ1odaJmbIsA -gWOWyejbUGGCtXd8P8Nv+JdL6dU/cayPoMqd4QIDAQABAoIBAG9UO51Uokr/1F5V -JcA7sFsDvYGPcX/dkOYAxdcfDZzZLwrVQLZrUQHxMPPLGzv9m3aq1ruhnGlHd7TB -6kB+ofDkRO+IhUcUFNhnzjmlP01VSu15YfHkUehQXwlYCF9FeRdh1ChHUU8Mi9jw -4DiWpaXoQahRWvPHib4Xn6h1da6RIfiB8E9co7Wy5WWtmJa9t8PVOBNPAl8JoYz/ -VyBa2oIOYJVVjbiwD6hzocfhW7/Tk6ohbjaD7rdgMOl3n8xcMbLzwVPw47VvtxRW -EysDwug4wZqKHGZSk2lphlOmdJOx6e9lIY8rbQU+eYLcNUQl9CmxLJpS2HwFS+kO -dLPnB8ECgYEA22uQhWAS3uCm14BaX/Z91846o3FRrBnJ5jyAx5kJfFqIwiWgVW5e -p5wma14ameoMhsOg5zOiK+wyjxygIzJw0S6ACb/iALAJt7bDtBnmdSUMhBfPjYCr -i1qDNYsXoE9AuOZmpkLU5858sB5T8HUBUx0B8+7c8Mfl6f/mw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LA8zQmH2q8bBGWBEj9/Hh -+ILqIBFAh9W2/eoUt6/gSWxpNg7kCTc9qXxk0TJta/RQQOCAlCY96YJesTspCoRq -hKCK1cKxwgeI7hqP89R7rUJDJQ9JObB3T87922LTnvgcNt1TdKnzHuV5ptYCINBw -vWeMvEoUgpH1TnsY19jAixAmGF+82/gNrEOBg1PE/iEmzY5bOSdgpd7XdzUjO0wf -xenT7VpfQl0gSeQwjsQ/iYM0l+5b2SqIg0jNzO4puVay3VJWq5Q0H8f1Iozhupp9 -4F2eKeLlIQ1odaJmbIsAgWOWyejbUGGCtXd8P8Nv+JdL6dU/cayPoMqd4QIDAQAB -o1YwVDAPBgNVHQ8BAf8EBQMDB6AAMBMGA1UdJQQMMAoGCCsGAQUFBwMCMAwGA1Ud -EwQFMAMBAQAwDQYDVR0OBAYEBPzFHxwwDwYDVR0jBAgwBoAEbAuo6DANBgkqhkiG -9w0BAQsFAAOCAQEARUhrqs0lbwHhcXfsZbzWL5R8xibOj1SQThvUfg7KOLcM+Cef -R4hrVbHU+wshDQtNZ54GMYa/2C0TjysWRFUCKcR1bHSw7u3GqK1ate707SmwJU1y -f4XhoEZqEdsu3FDvb/3Ihf0M3Z+Mq6Z2kLYWmx167e+PkPnvRzBYxO8u1psPfGb4 -WAyF/L1MzHDcwVXnCrd/z/rDslHQ0V34kwD4jtIW11gW3ZdaIUvyn+tPi2s8LV6R -9ntgOR+DsK37Wb0xvxY6eFkLp2MbNxmQw0zNPlmRBZABSB8MBe5OGWLnrPsCoCkE -BdKE3w2tXDDaSc0JZ91Oj2WlXGzetNA2KD7Lag== ------END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/1/client/client.crt b/lib/core/test/data/PKIs/1/client/client.crt new file mode 100644 index 00000000000..591bb7e89d9 --- /dev/null +++ b/lib/core/test/data/PKIs/1/client/client.crt @@ -0,0 +1,20 @@ +-----BEGIN CERTIFICATE----- +MIIDVjCCAj6gAwIBAgIBAzANBgkqhkiG9w0BA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CCHfZKOezjr7fz +pHqgER2c/vi/gkUpZ7mIgYPApcBXuUlrRWFv9vGjTzLmIbQGitl49zFS +-----END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/1/client/client.key b/lib/core/test/data/PKIs/1/client/client.key new file mode 100644 index 00000000000..a48415484dd --- /dev/null +++ b/lib/core/test/data/PKIs/1/client/client.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEAn0ZP0jZmFuX+o2X6sIpR1qWAk265juaC2IRJr/qMUQGqlD3L +AW8aTVwHzlGrvLaY35nVmOjfAtCT1Xd19haruZtrtunzygmZG2R8SaCCsGgBUyA2 +FwGO1HjX+tt6E6hso29d7E73BKzZcDnuRoW/DgUZ81WMMGTlc+uR/NOuYkML/1NT +s72sAoVih0bf/BbCnqzpBuUR3De5cyM9orHFQ8HNS3jUZQL3QkgbLxrEyFOnJ+pS +tdcrctR2gFlbuDvAO8Qk2U2iu+8KY78AngDgST8GM0wPbBgb1T01pQ+hnmVQ3D16 +QnBua6ftwIZbmdR6aR6U39RT0tl93PmqzYPqBwIDAQABAoIBAQCao9uwD50DMn8P +Cl5htYpLyxiRDHog4nG74oTg1XQS2nlRwMUvOT3iSi5SBT2m1eqLfoLCGaccxoIi +SgA/1Dca2Gm2iGNoj/UVgXSiz7LTr8dJfAbIQ3z3kfSw3RMjruz7qY8ZdnmjEmdy +7OwJkKW06QMPHMol2nBlIhz1yliPkV0iHXIUVW9euUmq+Pi2jlDKwImAmsVXugQX +Iop33mWROBk2lqkueqykNyq2htK4yopk+AjoIm6m005Qd6k0xx0+GIv8YAomOctq +GVGK+bXCgI106boqOCbL8act2bXtJZhE6oqdufwb2ycOObe7OoJCtbjUKxZET+mX +LBhfRAvhAoGBAMkK6lIJGH/iLa55mMVqMz5cyfVRAvm8IIPP49Szhwmq+adxll9e +fUGBrGSmC2l8jrERZxzLvoX6qRkBoG6auVsFN2gAmCxgF9wCc7L5/L2GSeMX/blB +3vHr8cKpt5FGHKsNU1aNAU04ozFSEJjhykX1f4aTT9nJPvBJOBObli+5AoGBAMrQ +cq16C9KwSsuOZ93zBa099mhO2K4WGXaZxC/mHHHHktywfFsUM7QRK7fEiq47panh +nvzZDGFbzjrvpbZjng0ZTS+aLeJqFUcRNEaM7wbdCPriX0MaWrKQoNmyl4L0vgIu +JFNkLY0cnrXog7i0ieWr28bYo9DvLaCw+4DUCke/AoGBAJgaEQP167o9NdCOIL4j +RhfFfeqC2xx0b6kqLLXtCZqP54f+kQUgaOWZpQMU+Qda/F4My5VmtIOLDEpmB6oG +l3u8q5mc8YSJQyPqGvzq04PUSKxup0B1DKa9mtBrNP3NLL1hPI776WMyGY2kB/iS +w0VAorX/V+dusZZ73tg+21bJAoGAURefgrV13LwYa+N4rEnrTyWjTHmaMaEsdTtu +Miiz3tqJYiw+zLv7IFhtPoEbYib/SjmoNDkkthjbEL2ZaJ/UJjCjqBDhn9ICx/Od +D0hymi/u00GIDXCQKy2g4uqBoh7xijWg2KcJf46d9uYNJOEq8eYRbiRY+8VmXQXm +yc/+fEkCgYA0/Bavf1W8UoQHJsXa5ixozzuM+tAD6cN8CvVxjakowKS95LjmpKbx +wDse1EWjsL+rqUfiZni7KI1qLagxKCakI6wHmBqvwHVX2X1hOJ1JHL5RXmttZ+US +tlTx0N5L84mMkLQFESEwU60zEjPF+bLhPgJBj3Xepwf8VVZbNgOaEg== +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/1/client/client.pem b/lib/core/test/data/PKIs/1/client/client.pem new file mode 100644 index 00000000000..cc3c6e998a6 --- /dev/null +++ b/lib/core/test/data/PKIs/1/client/client.pem @@ -0,0 +1,47 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEAn0ZP0jZmFuX+o2X6sIpR1qWAk265juaC2IRJr/qMUQGqlD3L +AW8aTVwHzlGrvLaY35nVmOjfAtCT1Xd19haruZtrtunzygmZG2R8SaCCsGg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G5rp+3AhluZ1HppHpTf1FPS +2X3c+arNg+oHAgMBAAGjVjBUMA8GA1UdDwEB/wQFAwMHoAAwEwYDVR0lBAwwCgYI +KwYBBQUHAwIwDAYDVR0TBAUwAwEBADANBgNVHQ4EBgQEUbVogTAPBgNVHSMECDAG +gASaNDWcMA0GCSqGSIb3DQEBCwUAA4IBAQCcnZVyujIOjH2Shvslj5XJ4+8LO0aM +CuzHBZY5e2CH8qOdW6tTBF7yGlwL8+vUDwpvCkeXzn8sVF6nsEQhmM/fgwtKc7Eq +PtaFiEUHdVFlKl97bPA+cPqEMPCJyx3upN4YV1undZ7kZdcQdmBW0jxSHyAGOJVa +pi8GDSWyY2sbn8WOebSXLhPHqxjGTwMpFK7kTD0BZx4I0C1OawRBzrJAd1SFNJq+ +LJpI3TEjzUYy4SC4ziR0AgDlmyLne8aAbYWF6KG80Y3wDhf8XhCCHfZKOezjr7fz +pHqgER2c/vi/gkUpZ7mIgYPApcBXuUlrRWFv9vGjTzLmIbQGitl49zFS +-----END CERTIFICATE----- diff --git a/lib/core/test/data/PKIs/1/server.crt b/lib/core/test/data/PKIs/1/server.crt deleted file mode 100644 index 999701f27eb..00000000000 --- a/lib/core/test/data/PKIs/1/server.crt +++ /dev/null @@ -1,22 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDlTCCAn2gAwIBAgIBAjANBgkqhkiG9w0BAQsFADBDMRgwFgYDVQQKDA9JbnB1 -dCBPdXRwdXQgSEsxJzAlBgNVBAMMHkNhcmRhbm8gU0wgU2VsZi1TaWduZWQgUm9v -dCBDQTAeFw0yMDAzMzAxMjI5MjBaFw0yMTAzMzAxMjMwMjBaMDoxGDAWBgNVBAoM -D0lucHV0IE91dHB1dCBISzEeMBwGA1UEAwwVQ2FyZGFubyBXYWxsZXQgU2VydmVy -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0R/tdEVgpE2AEmIxdzTy -cU1+dqhDfARyfqO+qTj9HM26gtrgtoseu531Ql9fE1YMmdE4snQR6x22+asHXu0r -NbMKrSVQhSwMfYVDbBh7HjxWEAKyLJvfGkoreRL9i8FwTpwQ7fX8eUWUUD2ESaz2 -iTcLKvVGXprBAXmRsRjKVLtfzX8EZ7lFj1NH70GesAA6fSRe2JoWY0dmdq7VVBt7 -0AstgxhM9a/acrRmFFgFbxyZp5Cr5oa5hP33dIDmXkc6vh7eEPAunHYRBGQMVpIW -jheKaz99UWSOML7LTckuwojczJ9/K5eS+671urvqkGUpauPoPS+gT+W/5uUtjv5E -CQIDAQABo4GcMIGZMEMGA1UdEQQ8MDqCCWxvY2FsaG9zdIIVbG9jYWxob3N0Lmxv -Y2FsZG9tYWluhwR/AAABhxAAAAAAAAAAAAAAAAAAAAABMA8GA1UdDwEB/wQFAwMH -oAAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TBAUwAwEBADANBgNVHQ4EBgQE -QbiBqzAPBgNVHSMECDAGgARsC6joMA0GCSqGSIb3DQEBCwUAA4IBAQBCepQGV5/i -2p/4RvdOXeOPPNy1dZ0qbrGDOqoGqopmTgIaHIrIkM+6ekwqw7+x9daHGr8o1vPo -44OOA7wnmxSD/I4stFdXxWTDcxbuk3yTH+Ltq3lD6nO+1bAiNtaDGH9CoxHT9NSJ -9VrzV31ZFKm22Aaw4yVT2l6BdzNmWifMBJ97ctqXhKN4Z7YYKTRfn4joSwgZtjUz -Z2ZLGc5hxUX6mtSWh/vKCHsrVPIqxpStCHDccSVw5clWJHEkQUp9f00rAab6Ec80 -e35jj4VVbt/lgtRbRwEIxoJwXtA0wfpq+Vbo2lCZDUy/S2dSurBuwjDbAp7QjHws -YeNeEjUhoU65 ------END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/1/server.key b/lib/core/test/data/PKIs/1/server.key deleted file mode 100644 index 4408ddb4dd2..00000000000 --- a/lib/core/test/data/PKIs/1/server.key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MII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8qDs2USOvOacz2pbJRRAoGBAMjs/niDG1id+1AN+tZU -k+ZKr0UH6b3wfOPhjQblyGMGevZMEuY+mZb4Mmc1PxWarCp4crC/sCj7cu6g85ho -ze4ARSjeGEuw5Sy9ySFRUDL5ofPmLhgSAoDlmn9ZJe0GlWKFa01XyKm354VuoQZe -S9V5v2ddmwSLOpZl+TMG80q5AoGAV3vHF7zNg6k+5hdBOMO+PeXSXQMcVuCqKGln -mvJpGuAgfzcbpMbrctqODv0BQ0OGSguS4Z0HAh/v0jK6J527FJgk2dcwHSWDTGES -mqu3C/4q+IH9pJOB59bh190e27pBhrrpOeMCoE59gy4fV3UxFm9AhVoxeO/6FtTN -7auCYpECgYB8KlehpI5Nhw2VyU0sJ2bqUR00uLjtvywzL5DsOQl1VEWh7t2+b4d+ -lgi2paByqV0WoTr7B/oJUxXi/ZNv/7oVVR+V57HMkhj3lVVcSH1BvT9Qr+MK3x47 -cs1yoaRksuIID0iMTjghSLE+2NkTvYEGvfXDS1ELUHBn5IRURUkGzg== ------END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/1/server.pem b/lib/core/test/data/PKIs/1/server.pem deleted file mode 100644 index 9c5354f6be3..00000000000 --- a/lib/core/test/data/PKIs/1/server.pem +++ /dev/null @@ -1,49 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEpAIBAAKCAQEA0R/tdEVgpE2AEmIxdzTycU1+dqhDfARyfqO+qTj9HM26gtrg -toseu531Ql9fE1YMmdE4snQR6x22+asHXu0rNbMKrSVQhSwMfYVDbBh7HjxWEAKy -LJvfGkoreRL9i8FwTpwQ7fX8eUWUUD2ESaz2iTcLKvVGXprBAXmRsRjKVLtfzX8E -Z7lFj1NH70GesAA6fSRe2JoWY0dmdq7VVBt70AstgxhM9a/acrRmFFgFbxyZp5Cr -5oa5hP33dIDmXkc6vh7eEPAunHYRBGQMVpIWjheKaz99UWSOML7LTckuwojczJ9/ -K5eS+671urvqkGUpauPoPS+g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wDAYDVR0TBAUwAwEBADANBgNVHQ4EBgQE -QbiBqzAPBgNVHSMECDAGgARsC6joMA0GCSqGSIb3DQEBCwUAA4IBAQBCepQGV5/i -2p/4RvdOXeOPPNy1dZ0qbrGDOqoGqopmTgIaHIrIkM+6ekwqw7+x9daHGr8o1vPo -44OOA7wnmxSD/I4stFdXxWTDcxbuk3yTH+Ltq3lD6nO+1bAiNtaDGH9CoxHT9NSJ -9VrzV31ZFKm22Aaw4yVT2l6BdzNmWifMBJ97ctqXhKN4Z7YYKTRfn4joSwgZtjUz -Z2ZLGc5hxUX6mtSWh/vKCHsrVPIqxpStCHDccSVw5clWJHEkQUp9f00rAab6Ec80 -e35jj4VVbt/lgtRbRwEIxoJwXtA0wfpq+Vbo2lCZDUy/S2dSurBuwjDbAp7QjHws -YeNeEjUhoU65 ------END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/1/server/server.crt b/lib/core/test/data/PKIs/1/server/server.crt new file mode 100644 index 00000000000..307c45b691b --- /dev/null +++ b/lib/core/test/data/PKIs/1/server/server.crt @@ -0,0 +1,22 @@ +-----BEGIN CERTIFICATE----- +MIIDnTCCAoWgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBHMRgwFgYDVQQKDA9JbnB1 +dCBPdXRwdXQgSEsxKzApBgNVBAMMImNhcmRhbm8td2FsbGV0IFNlbGYtU2lnbmVk +IFJvb3QgQ0EwHhcNMjEwNDAxMDYyODU2WhcNMjIwNDAxMDYyOTU2WjA+MRgwFgYD +VQQKDA9JbnB1dCBPdXRwdXQgSEsxIjAgBgNVBAMMGWNhcmRhbm8td2FsbGV0IEFQ +SSBTZXJ2ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC6DnYrjfJI +cbGlCdgmqEXblqYdYjBZmct0EtwlgeA5n5gi7uRluCFd4lGoc/iJE1X0LqArOmFn +wtmrWYKkLM3vv5L6ebm+8hnjKVDSrd1bWXUG1DguzNieWw8wACTRlLDDJ2stNVm8 +yyG/ZE0J77d9Y68XaUgz8y8xpoxUSDed+USUqL+G4khI96N5lMKLD86tQUQk7z+J +JlBapdaaMUHKM5MLSUJX1WKzDrqh9CmqsRsoG1EUrxnvXZKJhVLLtCB5UoHquQRt +RQB67QeOmAO+wSkxqob3gUMaTO52xUdf0t5k9Fc03T5Bv3iwDPoedB9DyL89IJbQ +0NzwMtBayoVhAgMBAAGjgZwwgZkwQwYDVR0RBDwwOoIJbG9jYWxob3N0ghVsb2Nh +bGhvc3QubG9jYWxkb21haW6HBH8AAAGHEAAAAAAAAAAAAAAAAAAAAAEwDwYDVR0P +AQH/BAUDAwegADATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMEBTADAQEAMA0G +A1UdDgQGBAQ3WuWBMA8GA1UdIwQIMAaABJo0NZwwDQYJKoZIhvcNAQELBQADggEB +AH82oYvIsgePidjZpq+6XCoGKhl6eiwgLBXGRDRkpNkUTrY2B1Zan43SnLT5Qxnz +f9FUU0d3wz4g1EEIbHVscqN22BdjPph89+T+JT5JC4wO59mpzGs/bcyFl+7wYrAV +Y7omae9mtFt1Eos+NfSRiTaYX66jl6j2wu62d+/SWh9Da8CbS/tn1QMV4yis4sGx +WJwHMHdcrBAyxjpyNCR84gTAbr0Qt7lp2eNRkM5HW8AOS5xPE8/atWcx9W4skgRv +rUWwHLGwPxM/EYBk92vnisUrtDNBRfJXSmxgitYD7J5d7JX9795dJ8YGRkxnrG4G +H4pDk8vRU1N/lfmFj6gRLSg= +-----END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/1/server/server.key b/lib/core/test/data/PKIs/1/server/server.key new file mode 100644 index 00000000000..9c9ec158a77 --- /dev/null +++ b/lib/core/test/data/PKIs/1/server/server.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEowIBAAKCAQEAug52K43ySHGxpQnYJqhF25amHWIwWZnLdBLcJYHgOZ+YIu7k +ZbghXeJRqHP4iRNV9C6gKz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cILiWGTEHe +rxKSV2WOxKYVQ1MiN0A/jddnVCV9BSC0iIHof/bsm64Y1nfPQ7Kg+/kIkqgrpGuB +L6OXecbRDpshoHyG02e/yQKBgQDHB7vlR9alC6nRLzDZVfZPVDWErqnF5E27jHVW +h2EVmv92u4Yt4zz3xguqFajvi6OtcMXl1AJI8kjFIVTh+hBJeWVJcDfojM53quuF +3fybepO4Wcc5J1Mv+B5Bc8it0yhzP6Ce43iPAdmdJ6uRaeRIV/MRLN1+dLkIlw8S +Yb6zwQKBgHzT3q3D0SQyUt1AQ1K0ltEEli8X/ZN8WpmxHvJoXljHij1vbQf3QhtQ +1S2E96kgB+aHzk+S6RlQNiMtVP37w/PFIu+gs1h1h8/4ZsEERWy01RbS5+Y6Rcn9 +pDrS+eWKzkQvXBbsoAELYQkK9VAkPuZ/gLrB6Lkoh1cyD4MlmvWR +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/1/server/server.pem b/lib/core/test/data/PKIs/1/server/server.pem new file mode 100644 index 00000000000..60dfc4fe416 --- /dev/null +++ b/lib/core/test/data/PKIs/1/server/server.pem @@ -0,0 +1,49 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEowIBAAKCAQEAug52K43ySHGxpQnYJqhF25amHWIwWZnLdBLcJYHgOZ+YIu7k +ZbghXeJRqHP4iRNV9C6gKzphZ8LZq1mCpCzN77+S+nm5vvIZ4ylQ0q3dW1l1BtQ4 +LszYnlsPMAAk0ZSwwydrLTVZvMshv2RNCe+3fWOvF2lIM/MvMaaMVEg3nflElKi/ +huJISPejeZTCiw/OrUFEJO8/iSZQWqXWmjFByjOTC0lCV9Visw66ofQpqrEbKBtR +FK8Z712SiYVSy7QgeVKB6rkEbUUAeu0HjpgDvsEpMaqG94FDGkzudsVHX9LeZPRX +NN0+Qb94sAz6HnQfQ8i/PSCW0NDc8DLQWsqFYQIDAQABAoIBABv3boXPeVqwVE6F +c0skQhPmyiNijff56R4Sc6rjocunlJuzovsz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hvcNAQELBQADggEB +AH82oYvIsgePidjZpq+6XCoGKhl6eiwgLBXGRDRkpNkUTrY2B1Zan43SnLT5Qxnz +f9FUU0d3wz4g1EEIbHVscqN22BdjPph89+T+JT5JC4wO59mpzGs/bcyFl+7wYrAV +Y7omae9mtFt1Eos+NfSRiTaYX66jl6j2wu62d+/SWh9Da8CbS/tn1QMV4yis4sGx +WJwHMHdcrBAyxjpyNCR84gTAbr0Qt7lp2eNRkM5HW8AOS5xPE8/atWcx9W4skgRv +rUWwHLGwPxM/EYBk92vnisUrtDNBRfJXSmxgitYD7J5d7JX9795dJ8YGRkxnrG4G +H4pDk8vRU1N/lfmFj6gRLSg= +-----END CERTIFICATE----- diff --git a/lib/core/test/data/PKIs/2/ca.crt b/lib/core/test/data/PKIs/2/ca.crt index 3db88966347..54c407111ff 100644 --- a/lib/core/test/data/PKIs/2/ca.crt +++ b/lib/core/test/data/PKIs/2/ca.crt @@ -1,20 +1,20 @@ -----BEGIN CERTIFICATE----- -MIIDSDCCAjCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRgwFgYDVQQKDA9JbnB1 -dCBPdXRwdXQgSEsxJzAlBgNVBAMMHkNhcmRhbm8gU0wgU2VsZi1TaWduZWQgUm9v -dCBDQTAeFw0yMDAzMzAxMjI5NTBaFw0zMDAzMjgxMjMwNTBaMEMxGDAWBgNVBAoM -D0lucHV0IE91dHB1dCBISzEnMCUGA1UEAwweQ2FyZGFubyBTTCBTZWxmLVNpZ25l -ZCBSb290IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7QMmb1fo -y052D8BVPOkSiluKhUfPo/PMg6+/jOk5dhEc5Zl6+QwcxTWX/mx/nxacq5uGXf8I -sHbe2XtKtXYmOgiTRAyl3THEzffTjVUEuJogeFt/KsHcKPdge6Y00CYR/b5AVIeY -wNyPoD8WhIa3jZ2mR+6JdjYptcI4NiSHdW0mRmseDK43HRf9UBAc6zRJjG/JMvJT -RA+UZJJy6y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woglGStE6 +Qq5CW0C5eWbmsoLuZtkidbvPTpSIWBEhKNmekoJlXY1xmHIeFUua3YNgHwINrnJ+ +TmHm58UingCa9xaKIi5QdTRtQk754+g4LyRjS/oejdpaR+Mojv7WouFM8shPLg2e +MaJ9g5SZlID3e7O9gZL9CcDD829buqe5C5WzaXa5JQdX1vY1mkxic9k1vTOsZtQo +6SOt7XN7XFCMlINBRWVzLQFJAgMBAAGjRzBFMA8GA1UdDwEB/wQFAwMHBgAwEgYD +VR0TAQH/BAgwBgEB/wIBADANBgNVHQ4EBgQEmjQ1nDAPBgNVHSMECDAGgASaNDWc +MA0GCSqGSIb3DQEBCwUAA4IBAQCGwnBLxDrkof0/gxwJ0W8+MNX3pw2r3VzhEnwm +D+BXe7frYy5jZtsUIi3gHTjYnPcQVfsUKjcecemXXhBn35L50QmJ7JfTU4Vxccxe +FfYZrH3fxZkJYdf9V+jq4P5R/mvJs7scNfBvsi26hRef5pyRF/Sv7gXaIZJAV5DM +8ShipfOuVVz1wOyLOPJEV+pegbyCld6lJyyRc77pVcL5qT2wP7FEOG3GPdQjdFyK +VNY4V2ppwvgU4UJp+q60TrVzcthSrYbTHKu63+EOLDtuyOBn4sOlVcsJUVaw7yhM +xGu3vAL9jk4pAAysGD6n8vkpyWb9CtA/siuTZRwBJp/nBQPe -----END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/2/client.crt b/lib/core/test/data/PKIs/2/client.crt deleted file mode 100644 index 503ce43e08e..00000000000 --- a/lib/core/test/data/PKIs/2/client.crt +++ /dev/null @@ -1,20 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDSDCCAjCgAwIBAgIBAzANBgkqhkiG9w0BAQsFADBDMRgwFgYDVQQKDA9JbnB1 -dCBPdXRwdXQgSEsxJzAlBgNVBAMMHkNhcmRhbm8gU0wgU2VsZi1TaWduZWQgUm9v -dCBDQTAeFw0yMDAzMzAxMjI5NTBaFw0yMTAzMzAxMjMwNTBaMDQxGDAWBgNVBAoM -D0lucHV0IE91dHB1dCBISzEYMBYGA1UEAwwPRGFlZGFsdXMgV2FsbGV0MIIBIjAN -BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0b96QDmElpSZ9iKWe1vBkIMB9BZX -zutkXv9spEiUZ47m7koF1gCrf+Rri3zKvfXtuizEMkEgq3fwRoPvOWJFu+gRfk10 -ULscHHWs9B3ivptG2axGmOgQeexnmsCyJXBBZVpuLzLHASz0naBqfumU0KguPnWJ -FcXrmOWjkBkNxE4EiDplxhkFNr5Im/xkijkpDcV+jaPz5oql9/YqYkh6xObL/CrU -+ioNPqCXS5kDFbgDJZT0UqsA39/duDm7Z0OcLlGjrbFcd/nMd8QZuHj5FHuJG3lx -0zPdAPpLTPRZmxlfXbej9b18VCge+bmb/M6TZVWZKNf4nT8OBHCqFtVfnQIDAQAB -o1YwVDAPBgNVHQ8BAf8EBQMDB6AAMBMGA1UdJQQMMAoGCCsGAQUFBwMCMAwGA1Ud -EwQFMAMBAQAwDQYDVR0OBAYEBPzFHxwwDwYDVR0jBAgwBoAEbAuo6DANBgkqhkiG -9w0BAQsFAAOCAQEAdBLkZdTVocJjI96yyQUx3w7jtUS471Z5rhXBh9jQTdxIgY1o -w/nrUXFfrVFw3YYxvhCafY0dNNNyeUt0+4J2gOJ/UlGKV7TO2fmrEob5CIPXMBRR -ctQD70116NjeS8uSPR7yRfAvLVo43VFBhJXxFyPBPzVulgjuWBL/ozQ1sGIZBFpN -Jmy7jCpIayD9pDjEfgWXUIQjegr4sLaCCO5eK5mrSfuBWtO51x4suGyFp1aECNyQ -XvturTB6jh14hHmWvWxcv2hLwVHPX6bernEVPPnan7xv4MNImBL12Qr3qhMSqIdO -+fu5wKb2iGaFPzXMTtdoA0TmheE2jrcQdHt0aQ== ------END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/2/client.key b/lib/core/test/data/PKIs/2/client.key deleted file mode 100644 index 19d21127a4e..00000000000 --- a/lib/core/test/data/PK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MJ5b2aM7MlLu6/fGS6Ca36 -zedWpGDPWfRFDGYuwX81R9BAMQdaPm1DodaFEwMHAoGANog3Op2lPsncYeaJgYUw -B2drHeFJIM5npq/2Jo3QjqdRQNKZBVbwhU9yJ7Wr3Povpw4GxFbJs5/B0zXXS8Sk -QHH4zZUXH0KDf9UIXMw8LntvJdSbX79mcV7Nj6vChDIweEYsq8VnzCxiU1+B0B4G -YGomwKtclZTGkIV5/hBn5dsCgYBm+50TpxLzSvjTiL9KBmzuf68sK32Nfkl36RdJ -dMA2D0vGFr90A47BL+IUTLXugs3iqJ3+OItfR5JMZyUtM8dM7qshtCp7+Jssc9Rw -t4OWgk572rSilWBKiJblsOaYqvbplufCG8hkxsyeEqeLt1+EXTHDqLelJdI3W+eg -MVEAbQKBgFNWHaYGGMqChNBTvmWjhJ5e+nYJuRx8OCOf4MT8jT5MgOmAfkFePtBs -anwt7rfa2rAsqrME+wCGyn87vISzj5wAvGx217oBN4BQGJzEVRsy0Li5zrZFF/Cf -1IXRkGcBnV9hUb1fPYbOa+ET2jJa4VM/mJVmy5sukeKu9y2jvbKN ------END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/2/client.pem b/lib/core/test/data/PKIs/2/client.pem deleted file mode 100644 index bfb1710e7e2..00000000000 --- a/lib/core/test/data/PKIs/2/client.pem +++ /dev/null @@ -1,47 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEA0b96QDmElpSZ9iKWe1vBkIMB9BZXzutkXv9spEiUZ47m7koF -1gCrf+Rri3zKvfXtuizEMkEgq3fwRoPvOWJFu+gRfk10ULscHHWs9B3ivptG2axG -mOgQeexnmsCyJXBBZVpuLzLHASz0naBqfumU0KguPnWJFcXrmOWjkBkNxE4EiDpl -xhkFNr5Im/xkijkpDcV+jaPz5oql9/YqYkh6xObL/CrU+ioNPqCXS5kDFbgDJZT0 -UqsA39/duDm7Z0OcLlGjrbFcd/nMd8QZuHj5FHuJG3lx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AQsFAAOCAQEAdBLkZdTVocJjI96yyQUx3w7jtUS471Z5rhXBh9jQTdxIgY1o -w/nrUXFfrVFw3YYxvhCafY0dNNNyeUt0+4J2gOJ/UlGKV7TO2fmrEob5CIPXMBRR -ctQD70116NjeS8uSPR7yRfAvLVo43VFBhJXxFyPBPzVulgjuWBL/ozQ1sGIZBFpN -Jmy7jCpIayD9pDjEfgWXUIQjegr4sLaCCO5eK5mrSfuBWtO51x4suGyFp1aECNyQ -XvturTB6jh14hHmWvWxcv2hLwVHPX6bernEVPPnan7xv4MNImBL12Qr3qhMSqIdO -+fu5wKb2iGaFPzXMTtdoA0TmheE2jrcQdHt0aQ== ------END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/2/client/client.crt b/lib/core/test/data/PKIs/2/client/client.crt new file mode 100644 index 00000000000..5ad25c70c0e --- /dev/null +++ b/lib/core/test/data/PKIs/2/client/client.crt @@ -0,0 +1,20 @@ +-----BEGIN CERTIFICATE----- +MIIDVjCCAj6gAwIBAgIBAzANBgkqhkiG9w0BAQsFADBHMRgwFgYDVQQKDA9JbnB1 +dCBPdXRwdXQgSEsxKzApBgNVBAMMImNhcmRhbm8td2FsbGV0IFNlbGYtU2lnbmVk +IFJvb3QgQ0EwHhcNMjEwNDAxMDYyODU2WhcNMjIwNDAxMDYyOTU2WjA+MRgwFgYD +VQQKDA9JbnB1dCBPdXRwdXQgSEsxIjAgBgNVBAMMGWNhcmRhbm8td2FsbGV0IFRl +c3QgU3VpdGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDQ65c/6DI5 +Ydlefqivd7fOmngPXKjZ34OX1nT80HEzfLLj69yq/ffEsXwU1fsHkGTs8bAb44sZ +p0acMU4IJohwmOB/cdGi7SB+4TYnLrGLOV7k3SsFH0sAUVhpy/emzWg32rv5dhax +DZ4rj8ol7NgZbCUQDEMlN6WRsQKEdxEu2gP/KRo+94zWVFC+n1Wd/ddcGLtjFJQ6 +sALOMwow1rQ26ayM8hEwZw0kkY10NnmrErdf6K6khq+/N+MPsfw+ZX+OoASnOPaX +lGd/iY1g+dSdTa5q8Eb3L61iNqMlM9CxW77exqmHJQbEu36mVIGQPUnqgRKiF0wx +vhZ2O24fnhjrAgMBAAGjVjBUMA8GA1UdDwEB/wQFAwMHoAAwEwYDVR0lBAwwCgYI +KwYBBQUHAwIwDAYDVR0TBAUwAwEBADANBgNVHQ4EBgQEUbVogTAPBgNVHSMECDAG +gASaNDWcMA0GCSqGSIb3DQEBCwUAA4IBAQAoe9Yn99k9vJDxnn/T6ppEL9y/PlxQ +F+HHLmoV2MQ4i6Zw6ueV+JqUNbDNxrlahfkkVG4vdyvuKJ1wdnSyNTwDhm4U3hcE +ZvqwE3bZ8H8Cdt51eN/KhUKQzjDgYXoGC+CQYPPN+Yvq4/UDXcFxk9/n6Q4VHLkA +MsEAUnKrg7ZuuFjYFvVA47N3mrtZCloDfKmnLM5kyx2L/Nsbvhr0CZMn/vKCJdzF +MYHrQTXht1S5arYdjn6WTbc6KgDrPL8dh8wUgGxISLxVK8dP2CxHAHI456uJ9F43 +mzTocc+69Ei5W3hB5gkOTVIjphyjSrZowZuj/NYHA++oOnQdA8FWmub4 +-----END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/2/client/client.key b/lib/core/test/data/PKIs/2/client/client.key new file mode 100644 index 00000000000..bd2a0825e77 --- /dev/null +++ b/lib/core/test/data/PKIs/2/client/client.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEA0OuXP+gyOWHZXn6or3e3zpp4D1yo2d+Dl9Z0/NBxM3yy4+vc +qv33xLF8FNX7B5Bk7PGwG+OLGadGnDFOCCaIcJjgf3HRou0gfuE2Jy6xizle5N0r +BR9LAFFYacv3ps1oN9q7+XYWsQ2eK4/KJezYGWwlEAxDJTelkbEChHcRLtoD/yka +PveM1lRQvp9Vnf3XXBi7YxSUOrACzjMKMNa0NumsjPIRMGc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P8rua/dUxm8GK5JM3QcOlC+BvwbkZbn6llAHibVz6rhQHIqt +cAYz/O16+E2ODqtxk4TO9sl31xBHiPiq8SDII3I6DBbELeSWqMBMeuWCLNDBrSWq +VKhXDiECgYAWWyP0p5LfgrqxHUF6qCT18o7VArvkoraQc9lpHQ8cBrgkS9/9FC33 +umZW0AtTGHo26BL55MbhoovrBN0BLrHE96yb6VDpJgbO+8egIhvr55XjQ34RjQyA +vOETQF097tJ1Xofk2hT4BZ0eoLQgWb7tIEdngPI+//7p85tLFAmX1A== +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/2/client/client.pem b/lib/core/test/data/PKIs/2/client/client.pem new file mode 100644 index 00000000000..242a00e7921 --- /dev/null +++ b/lib/core/test/data/PKIs/2/client/client.pem @@ -0,0 +1,47 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEA0OuXP+gyOWHZXn6or3e3zpp4D1yo2d+Dl9Z0/NBxM3yy4+vc +qv33xLF8FNX7B5Bk7PGwG+OLGadGnDFOCCaIcJjgf3HRou0gfuE2Jy6xizle5N0r +BR9LAFFYacv3ps1oN9q7+XYWsQ2eK4/KJezYGWwlEAxDJTelkbEChHcRLtoD/yka +PveM1lRQvp9Vnf3XXBi7YxSUOrACzjMKMNa0NumsjPIRMGcNJJGNdDZ5qxK3X+iu +pIavvzfjD7H8PmV/jqAEpzj2l5Rnf4mNYPnUnU2uavBG9y+tYjajJTPQsVu+3sap +hyUGxLt+plSBkD1J6oESohdMMb4WdjtuH54Y6wIDAQABAoIBAQDHErZcvvScmRB3 +allyWbFbvPUKLlD2ynSqCkAPZs93MCuF4wmyJa4iTrzdXciFvKFu5h3ZdUjmeO5f +htvECHOaVxIUXnBTv4BnZlIjo+qpr1Es41JK3zaoZtrIdQLWfoQANP1JB603qLI+ +8BS/bp+8GcB3OjgBDrVFzlWHw60r5fmLFeiCF+q+6y708wR5I+5qUTOkmbzQpC70 +a+hFO+KfA8MGM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DrPL8dh8wUgGxISLxVK8dP2CxHAHI456uJ9F43 +mzTocc+69Ei5W3hB5gkOTVIjphyjSrZowZuj/NYHA++oOnQdA8FWmub4 +-----END CERTIFICATE----- diff --git a/lib/core/test/data/PKIs/2/server.crt b/lib/core/test/data/PKIs/2/server.crt deleted file mode 100644 index 8d2779e6341..00000000000 --- a/lib/core/test/data/PKIs/2/server.crt +++ /dev/null @@ -1,22 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDlTCCAn2gAwIBAgIBAjANBgkqhkiG9w0BAQsFADBDMRgwFgYDVQQKDA9JbnB1 -dCBPdXRwdXQgSEsxJzAlBgNVBAMMHkNhcmRhbm8gU0wgU2VsZi1TaWduZWQgUm9v -dCBDQTAeFw0yMDAzMzAxMjI5NTBaFw0yMTAzMzAxMjMwNTBaMDoxGDAWBgNVBAoM -D0lucHV0IE91dHB1dCBISzEeMBwGA1UEAwwVQ2FyZGFubyBXYWxsZXQgU2VydmVy -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApsx/vGsTx2sqKG9FjfVX -Hw69OTTC/gp6QiAlZyK6y2kXtu/dQRYkWVbT3pJziSlMmwgQnvkqBhaa1YlDbNnS -ytaHUXlADbGYlp8LXZPz+r6eSR1xhW9ozWkNDcTrDG3jz04vaWaTTzJnrzmwLMCO -Y3O5eQQ1+S2XZQcYpbDjQ86RuvZ7PMMzAMu6JdbnlD6U7bzc/v+bz0hFgkezHhee -BEqXprVFprOwT8XkN0umWrmC9l5wUtOmGZ0DsJ68JbHFY3DqaHfGr4e4kzi/0FWA -impdSAHtn1We3sTD3rBqu0TEIoiDSy27bs/dbQpAzaVOOLVb3wfApONC2CpyNTAt -gwIDAQABo4GcMIGZMEMGA1UdEQQ8MDqCCWxvY2FsaG9zdIIVbG9jYWxob3N0Lmxv -Y2FsZG9tYWluhwR/AAABhxAAAAAAAAAAAAAAAAAAAAABMA8GA1UdDwEB/wQFAwMH -oAAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TBAUwAwEBADANBgNVHQ4EBgQE -QbiBqzAPBgNVHSMECDAGgARsC6joMA0GCSqGSIb3DQEBCwUAA4IBAQCpmOzreT0V -My9rruy1AGm6E3txhv10zNRHAqLPKccJUxPHoJnRUYx/uA/a8wM9RllFI1MSiQFa -OzyQFuHaSqr/7DakTTxr18nVEXdcai0VE3XDPc/ARnSy4y5ZdOLBQIH6y2WxZ5qb -FWayC59zXtVWrB9yG2gQS6SyeyDKx2P8twB92LISJrd82Bv65wjSq72n/KBKSiaG -aFk6LLt/ITrHbIuS/Weo8U7UCwg6kjNO0JUEwk0UfA1l0DDDbEuApCv0NPaPoo63 -vDQ4LGhlB3Jv4DA5OwLPMn6xR4y8K/z0Xnkit3NK5baTfvDkXsqBe30S7c6TX/eH -U37RrfSIW51I ------END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/2/server.key b/lib/core/test/data/PKIs/2/server.key deleted file mode 100644 index 8a87d808539..00000000000 --- a/lib/core/test/data/PKIs/2/server.key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEpAIBAAKCAQEApsx/vGsTx2sqKG9FjfVXHw69OTTC/gp6QiAlZyK6y2kXtu/d -QRYkWVbT3pJziSlMmwgQnvkqBhaa1YlDbNnSytaHUXlADbGYlp8LXZPz+r6eSR1x -hW9ozWkNDcTrDG3jz04vaWaTTzJnrzmwLMCOY3O5eQQ1+S2XZQcYpbDjQ86RuvZ7 -PMMzAMu6JdbnlD6U7bzc/v+bz0hFgkezHheeBEqXprVFprOwT8XkN0umWrmC9l5w -UtOmGZ0DsJ68JbHFY3DqaHfGr4e4kzi/0FWAimpdSAHtn1We3sTD3rBqu0TEIoiD -Sy27bs/dbQpAzaVOOLVb3wfApONC2CpyNTAtgwIDAQABAoIBAQCQCQ3RFiIZVagt -DJFimdbmweKTEMXFfCTBD2NdIXduiczps047kzRGVZ1VmN/eNOSrB5bawM0SPtjr -xsG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Ci0Q+zRtIxrH3bHI20xs2bc+SzZja -ep7C9JWm77hQ7/oyJZdSkqorMDdtC6oDMi41mTzaNp28vkN+tUP2HA== ------END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/2/server.pem b/lib/core/test/data/PKIs/2/server.pem deleted file mode 100644 index 99069e914de..00000000000 --- a/lib/core/test/data/PKIs/2/server.pem +++ /dev/null @@ -1,49 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEpAIBAAKCAQEApsx/vGsTx2sqKG9FjfVXHw69OTTC/gp6QiAlZyK6y2kXtu/d -QRYkWVbT3pJziSlMmwgQnvkqBhaa1YlDbNnSytaHUXlADbGYlp8LXZPz+r6eSR1x -hW9ozWkNDcTrDG3jz04vaWaTTzJnrzmwLMCOY3O5eQQ1+S2XZQcYpbDjQ86RuvZ7 -PMMzAMu6JdbnlD6U7bzc/v+bz0hFgkezHheeBEqXprVFprOwT8XkN0umWrmC9l5w -UtOmGZ0DsJ68JbHFY3DqaHfGr4e4kzi/0FWAimpdSAHtn1We3sTD3rBqu0TEIoiD -Sy27bs/dbQpAzaVOOLVb3wfApONC2CpyNTAtgwIDAQABAoIBAQCQCQ3RFiIZVagt -DJFimdbmweKTEMXFfCTBD2NdIXduiczps047kzRGVZ1VmN/eNOSrB5bawM0SPtjr -xsGLsLm/YOuvZmXyrUbX4nV9FHNeNtcWyi8qi99TagDUwBQ9QnOzo497lBFnFV7F -yKoiqxEKPneOUh2NlFok6rDU+9/0v3riRRn07rS/jGTncOabOYCzSExSEsoxzVLp -9PMhQsy7FweoyXqHLPahOVxIGcM/uywfwdcNAmkOypceZ8fkVtP57MuFoAN0Onn6 -0NzyGro/0sOt+L5UeQlAjcaTN00/W5A36JXhkCNCHcL1jQS2c1HJ0HIfo0eat+9G -rd/IRGdpAoGBAM1vNP5EBh5SyqH+8gKNGyPrSzwaBk8H6YNbN6wb1qr5YuEjaEFn -1fwzuDJOdcBLhagCkeHFVlZtYr0qcLLC18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EAwwVQ2FyZGFubyBXYWxsZXQgU2VydmVy -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApsx/vGsTx2sqKG9FjfVX -Hw69OTTC/gp6QiAlZyK6y2kXtu/dQRYkWVbT3pJziSlMmwgQnvkqBhaa1YlDbNnS -ytaHUXlADbGYlp8LXZPz+r6eSR1xhW9ozWkNDcTrDG3jz04vaWaTTzJnrzmwLMCO -Y3O5eQQ1+S2XZQcYpbDjQ86RuvZ7PMMzAMu6JdbnlD6U7bzc/v+bz0hFgkezHhee -BEqXprVFprOwT8XkN0umWrmC9l5wUtOmGZ0DsJ68JbHFY3DqaHfGr4e4kzi/0FWA -impdSAHtn1We3sTD3rBqu0TEIoiDSy27bs/dbQpAzaVOOLVb3wfApONC2CpyNTAt -gwIDAQABo4GcMIGZMEMGA1UdEQQ8MDqCCWxvY2FsaG9zdIIVbG9jYWxob3N0Lmxv -Y2FsZG9tYWluhwR/AAABhxAAAAAAAAAAAAAAAAAAAAABMA8GA1UdDwEB/wQFAwMH -oAAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TBAUwAwEBADANBgNVHQ4EBgQE -QbiBqzAPBgNVHSMECDAGgARsC6joMA0GCSqGSIb3DQEBCwUAA4IBAQCpmOzreT0V -My9rruy1AGm6E3txhv10zNRHAqLPKccJUxPHoJnRUYx/uA/a8wM9RllFI1MSiQFa -OzyQFuHaSqr/7DakTTxr18nVEXdcai0VE3XDPc/ARnSy4y5ZdOLBQIH6y2WxZ5qb -FWayC59zXtVWrB9yG2gQS6SyeyDKx2P8twB92LISJrd82Bv65wjSq72n/KBKSiaG -aFk6LLt/ITrHbIuS/Weo8U7UCwg6kjNO0JUEwk0UfA1l0DDDbEuApCv0NPaPoo63 -vDQ4LGhlB3Jv4DA5OwLPMn6xR4y8K/z0Xnkit3NK5baTfvDkXsqBe30S7c6TX/eH -U37RrfSIW51I ------END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/2/server/server.crt b/lib/core/test/data/PKIs/2/server/server.crt new file mode 100644 index 00000000000..6fa3636184f --- /dev/null +++ b/lib/core/test/data/PKIs/2/server/server.crt @@ -0,0 +1,22 @@ +-----BEGIN CERTIFICATE----- +MIIDnTCCAoWgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBHMRgwFgYDVQQKDA9JbnB1 +dCBPdXRwdXQgSEsxKzApBgNVBAMMImNhcmRhbm8td2FsbGV0IFNlbGYtU2lnbmVk +IFJvb3QgQ0EwHhcNMjEwNDAxMDYyODU2WhcNMjIwNDAxMDYyOTU2WjA+MRgwFgYD +VQQKDA9JbnB1dCBPdXRwdXQgSEsxIjAgBgNVBAMMGWNhcmRhbm8td2FsbGV0IEFQ +SSBTZXJ2ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC3mdlHGjrM +4tNCtDno9acaq3YiTcizlOBPNwyyxlKLJbEwO4NEhtS6ZvGFEV/yWnPUF+BsqKTR +Kpo+K3kb0gjr/bAE0M+t7fSs+K15uBg93FVMeWK/Z3TaVDwubUxdARkTOo1+MeFI +7o2dFFBOLFntDAMBLt+aN31tw+SbwpmLt6ZZJJ8vETHrZhjciLxeJ8/0J2RdoHQY +YPyU099su+6gfcfgr+e19QVBXSg/8WOvo6DuZP6S7g3Ncits57Zj1eJ5+ss8YIUg +kzpqyGC+/NIvNlU2Yz3Q9fP++q/uGD52IRgsih6DMtowzV34vbZ3whTGeHF7Oluo +IWkB9FYNjVnvAgMBAAGjgZwwgZkwQwYDVR0RBDwwOoIJbG9jYWxob3N0ghVsb2Nh +bGhvc3QubG9jYWxkb21haW6HBH8AAAGHEAAAAAAAAAAAAAAAAAAAAAEwDwYDVR0P +AQH/BAUDAwegADATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMEBTADAQEAMA0G +A1UdDgQGBAQ3WuWBMA8GA1UdIwQIMAaABJo0NZwwDQYJKoZIhvcNAQELBQADggEB +AAIl4qEQ6Y78BYp9gYK1zwrr0Hp0CYAXJ7BIN3gz8DaOwjBc0sQmbeAKtrMi0vp1 +o3fRLC6drR215mYIaS7ggvgmzG551jaBxRCFQMJAFrXMPOrlsCxWFY+aKGRbykMQ +uKD0m8I5Ha5SBtqRKEs7fdE49IAREV/KbETZ2qNbMZsolorPTvRXdp5n3bbYuA1Y +Cq9ZRPH5VsGpZbGmNqNwcSkY4MYLEehdKpDKgxrk2NTsBFIIv6NOnR8z/t24lCQS +FXsSfW3Qb4gYc9/ccwHQW8z5Rpk+lvPF6QEe/6MP02wjIPnVQHzQb6spZJ6bDgDF +AMYfioIMW3tQCbUekty/6hQ= +-----END CERTIFICATE----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/2/server/server.key b/lib/core/test/data/PKIs/2/server/server.key new file mode 100644 index 00000000000..8a522744d19 --- /dev/null +++ b/lib/core/test/data/PKIs/2/server/server.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEAt5nZRxo6zOLTQrQ56PWnGqt2Ik3Is5TgTzcMssZSiyWxMDuD +RIbUumbxhRFf8lpz1BfgbKik0SqaPit5G9II6/2wBNDPre30rPitebgYPdxVTHli +v2d02lQ8Lm1MXQEZEzqNfjHhSO6NnRRQTixZ7QwDAS7fmjd9bcPkm8KZi7emWSSf +LxEx62YY3Ii8XifP9CdkXaB0GGD8lNPfbLvuoH3H4K/ntfUFQV0oP/Fjr6Og7mT+ +ku4NzXIrbOe2Y9XiefrLPGCFIJM6ashgvvzSLzZVNmM90PXz/vqv7hg+diEYLIoe +gzLaMM1d+L22d8IUxnhxezpbqCFpAfRWDY1Z7wIDAQABAoIBAQCycvQ+KX5ROX2A +bc+DX5AFWfW+LcAO23qRQ74x3JTJ7d6kNJPHfQ0yB3Bjl5mb4tKFqJdWxSs8qZ21 +I2fY5HILfU0hwRq5wHh5zlI95fKZ3ZeCdtDFnHZ05j6AGXeJRdHrYJO5vh1rV4GI +1P+gm3bj8TLSaY6nQ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qtyljGqB4Q== +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/lib/core/test/data/PKIs/2/server/server.pem b/lib/core/test/data/PKIs/2/server/server.pem new file mode 100644 index 00000000000..2eff9a71808 --- /dev/null +++ b/lib/core/test/data/PKIs/2/server/server.pem @@ -0,0 +1,49 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEAt5nZRxo6zOLTQrQ56PWnGqt2Ik3Is5TgTzcMssZSiyWxMDuD +RIbUumbxhRFf8lpz1BfgbKik0SqaPit5G9II6/2wBNDPre30rPitebgYPdxVTHli +v2d02lQ8Lm1MXQEZEzqNfjHhSO6NnRRQTixZ7QwDAS7fmjd9bcPkm8KZi7emWSSf +LxEx62YY3Ii8XifP9CdkXaB0GGD8lNPfbLvuoH3H4K/ntfUFQV0oP/Fjr6Og7mT+ +ku4NzXIrbOe2Y9XiefrLPGCFIJM6ashgvvzSLzZVNmM90PXz/vqv7hg+diEYLIoe +gzLaMM1d+L22d8IUxnhxezpbqCFpAfRWDY1Z7wIDAQABAoIBAQCycvQ+KX5ROX2A +bc+DX5AFWfW+LcAO23qRQ74x3JTJ7d6kNJPHfQ0yB3Bjl5mb4tKFqJdWxSs8qZ21 +I2fY5HILfU0hwRq5wHh5zlI95fKZ3ZeCdtDFnHZ05j6AGXeJRdHrYJO5vh1rV4GI +1P+gm3bj8TLSaY6nQ5vDngyKX8ABjN7O7dTdTQVMxtXBbZO9wMoA6Q0QNHQv4fHc +Czsz6PSLsHJVdl8uZbfGvPQLG8f/2iQS557hqGTmqDdFxCnmSl3tK5BznrIqj+yq +h8FTjj6+V+Qp+b399AeIxU5hqanDGNEpUiJLZOOWnKF7Q/H5RGZ2zxoGIudv3/vX +RhlDLOthAoGBANm5RYcZFNbCxnVMWtUTt4MW9pMgEtiG0OwJSKGSZWpvg9BlfoNq +Nd2AQeOcjDKrZ31QExdwHl+VtAdqQ1FSRS11o+0crrAkhaZxq8HiRmazAZ65dnQB +PiDY8+EbDM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 2001 From: Rodney Lorrimar Date: Thu, 1 Apr 2021 16:30:56 +1000 Subject: [PATCH 4/4] Regenerate nix --- nix/.stack.nix/cardano-sl-x509.nix | 5 +++-- nix/.stack.nix/cardano-wallet-core.nix | 1 + nix/.stack.nix/default.nix | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nix/.stack.nix/cardano-sl-x509.nix b/nix/.stack.nix/cardano-sl-x509.nix index 0eeb3df777a..eaf82e11306 100644 --- a/nix/.stack.nix/cardano-sl-x509.nix +++ b/nix/.stack.nix/cardano-sl-x509.nix @@ -42,6 +42,7 @@ (hsPkgs."ip" or (errorHandler.buildDepError "ip")) (hsPkgs."text" or (errorHandler.buildDepError "text")) (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."wide-word" or (errorHandler.buildDepError "wide-word")) (hsPkgs."x509" or (errorHandler.buildDepError "x509")) (hsPkgs."x509-store" or (errorHandler.buildDepError "x509-store")) (hsPkgs."x509-validation" or (errorHandler.buildDepError "x509-validation")) @@ -66,7 +67,7 @@ } // { src = (pkgs.lib).mkDefault (pkgs.fetchgit { url = "https://github.com/input-output-hk/cardano-sl-x509"; - rev = "43a036c5bbe68ca2e9cbe611eab7982e2348fe49"; - sha256 = "1aw7ns8lv51fjf45k8yzils2j7a6bqzy8hn65kb3z0dn1qsm8x88"; + rev = "12925934c533b3a6e009b61ede555f8f26bac037"; + sha256 = "1kma25g8sl6m3pgsihja7fysmv6vjdfc0x7dyky9g5z156sh8z7i"; }); } \ No newline at end of file diff --git a/nix/.stack.nix/cardano-wallet-core.nix b/nix/.stack.nix/cardano-wallet-core.nix index c33448ef2da..37041f9e502 100644 --- a/nix/.stack.nix/cardano-wallet-core.nix +++ b/nix/.stack.nix/cardano-wallet-core.nix @@ -134,6 +134,7 @@ (hsPkgs."cardano-wallet-core" or (errorHandler.buildDepError "cardano-wallet-core")) (hsPkgs."cardano-wallet-launcher" or (errorHandler.buildDepError "cardano-wallet-launcher")) (hsPkgs."cardano-wallet-test-utils" or (errorHandler.buildDepError "cardano-wallet-test-utils")) + (hsPkgs."cardano-sl-x509" or (errorHandler.buildDepError "cardano-sl-x509")) (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."connection" or (errorHandler.buildDepError "connection")) diff --git a/nix/.stack.nix/default.nix b/nix/.stack.nix/default.nix index 8d197a197c3..c2f4bc52a2a 100644 --- a/nix/.stack.nix/default.nix +++ b/nix/.stack.nix/default.nix @@ -30,6 +30,7 @@ "regex-posix-clib" = (((hackage.regex-posix-clib)."2.7").revisions).default; "statistics-linreg" = (((hackage.statistics-linreg)."0.3").revisions).default; "streaming-binary" = (((hackage.streaming-binary)."0.2.2.0").revisions).default; + "ip" = (((hackage.ip)."1.5.1").revisions).default; cardano-wallet-core = ./cardano-wallet-core.nix; cardano-wallet-core-integration = ./cardano-wallet-core-integration.nix; cardano-wallet-cli = ./cardano-wallet-cli.nix;