diff --git a/client/grpc/grpc_test.go b/client/grpc/grpc_test.go index da192c2..f50e6b5 100644 --- a/client/grpc/grpc_test.go +++ b/client/grpc/grpc_test.go @@ -84,7 +84,7 @@ func TestNewGRPCOptionsFromConfig(t *testing.T) { assert.NotNil(t, opts) assert.NoError(t, err) conn, err = grpc.DialContext(ctx, tlsConnConfig.Host, opts.Dial...) - assert.NoError(t, err) + assert.NoError(t, err, tlsConnConfig.Host) assert.NotNil(t, conn) cli = testpb.NewTestServiceClient(conn) out, err = cli.EmptyCall(context.Background(), &testpb.Empty{}) diff --git a/client/grpc/testdata/tls/ca/ca-key.pem b/client/grpc/testdata/tls/ca/ca-key.pem index 3820d95..e3bc056 100644 --- a/client/grpc/testdata/tls/ca/ca-key.pem +++ b/client/grpc/testdata/tls/ca/ca-key.pem @@ -1,51 +1,51 @@ -----BEGIN RSA PRIVATE KEY----- -MIIJJwIBAAKCAgEArQvhbgSmU8cALHcHx/u5I20VqGrUw9lby2ygwgfwlCt1+mGg -T9hLQhKnXJ57foZyXG55+qSJtNoAy+wuzHtPjlQ9HzO9xzbaeWSNHEbGw2HdLoIv -IZf8LupbGhi/KT41+cum1+GpEQDd5tjH1ycXz10ndn0+V0HE2LabAsxfuCKQWyD5 -v9MZb1KnqdhDjm5P/CXhxLSQ8sS4fdQdTbsuxTv+p9RZ50/SFPhHeTJunMiSE1Ok -xnkVKNDGaO3sZCgEjQ763+SnWyhOICyb3Rbo9L1CZwnLPE/TDqcaoTM5F2TJtdMx -f5DOJkkbp37V+S8TvlCMIdQ2ZmT8BsXmULOrvrsEXiB8Rr9NACcsvynj4BLUm0GQ -wOt6cg1lXURgVkRQtr9kGenZs26Y3VbRzfHo3SNqrdusMw5l+Zb74On6owslwEk8 -seavWijw6sQObCgNwMgvD3V5mEr5/ZWpJReosoY3qS/E34MStYBYxsy2Nk9FUL+Q -HngqphWuVHVhSEMCmM3CPqnzRKBNl5dMQ2OBz8IzY3RqGju0VNbcT5ULKcxI1Kte -SwNGR24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Ar24fqYTcFLl+7wJajjRXvr+J3u9cc4pau/rKgr/WBveH +JvfGHDF0s488KeE2rsXDOZuX4GSuarHpAoIBAQCWg5tk+Q4egil6mmWtcG4Nkvjt +kyj5QQwVJ0sQ9o462W/mNOKUR+FGkR3TLaEBNRPZtYGWemIoRZyB4C3i9g3vk8cQ +WAcNTURUaZLoPUvBJv9bvq8lxkKkhffozJujTqsm2OO4X11aXinDXD8TbLQzszx/ +qD974hYagj+Hm290YdHvU0vLUjk58inVb9+eZyJZwgSSFHMpidrWXwg/BS+n/lm8 +qLiV2QHpDZlXxFp+A6rUGFk1F1u7bwSv+XiFYRV26YTn3Oy6T+g4b16/CJ4EMNm4 +fWhgqsTot8xBs/OR1qD0RrE7WhCUXUeqe5jU20DoEedDzhTf730DXysZUSd5 -----END RSA PRIVATE KEY----- diff --git a/client/grpc/testdata/tls/ca/ca.csr b/client/grpc/testdata/tls/ca/ca.csr index a386e7d..6f37af0 100644 --- a/client/grpc/testdata/tls/ca/ca.csr +++ b/client/grpc/testdata/tls/ca/ca.csr @@ -1,27 +1,28 @@ -----BEGIN CERTIFICATE REQUEST----- -MIIEozCCAosCAQAwMTEKMAgGA1UEBhMBQzEKMAgGA1UEBxMBTDEXMBUGA1UEChMO -SExGLVNESy1HTyBUTFMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCt -C+FuBKZTxwAsdwfH+7kjbRWoatTD2VvLbKDCB/CUK3X6YaBP2EtCEqdcnnt+hnJc -bnn6pIm02gDL7C7Me0+OVD0fM73HNtp5ZI0cRsbDYd0ugi8hl/wu6lsaGL8pPjX5 -y6bX4akRAN3m2MfXJxfPXSd2fT5XQcTYtpsCzF+4IpBbIPm/0xlvUqep2EOObk/8 -JeHEtJDyxLh91B1Nuy7FO/6n1FnnT9IU+Ed5Mm6cyJITU6TGeRUo0MZo7exkKASN -Dvrf5KdbKE4gLJvdFuj0vUJnCcs8T9MOpxqhMzkXZMm10zF/kM4mSRunftX5LxO+ -U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VEPVQ3trCCdpk5wRAatj4JtIN6Iu+eTj94f65XaCpVORX +zbtEhpFpLqcbG9XeCbd1c4+zjyrcH0tASqWAgdTkG0Qa28ukc+nQHoU5m9L90akj +ETgpd7HYIg8iYNeVpjl4XiEDF+UuwBmWQbpS/nmel284nNKip15rcVJ4Gnto1QJ2 +q2TTHi6DrkdIm1lBvnwCaWh0Wdsiq62wky9ASni4ALc232iNuSB6BrvSD10qgKzi +zMiJfQL5A7cRH1m+gXs4r3d3jL/t3S3hv6hNZa+j18OM1LsRna09MYoadT803WsA +X+KVnLDBQTlupjYny3wejgqvEOeyvpv6LlCxBMShGEjPlTcgucdXjl9tA6DjhbBB +xiQ6rfwZnoQ49jun8OnJXCPR351nfnWzs+3gIQNExaP3KLO4k4DKndS0erwXWjsM +o1BozBTzgh2ujlQ1MP13jOqWHDG+fJMR35wuUpBuLNtFlTimgsHfDdcPNBsPwNJR +5lYvEX3ozqI8u8bxq8o7RcyWlbYqqiBpkdXtc1tIRgwA45iWMcxl7RlUpqB2pfRO +4pPcNpp5+aKJgldd0auDdYd1WQ2jt4VgLRZJoMxBUDcFwAdg/l0USFUXyqRHLZa6 +gKFyF5Ub5GA= -----END CERTIFICATE REQUEST----- diff --git a/client/grpc/testdata/tls/ca/ca.pem b/client/grpc/testdata/tls/ca/ca.pem index 0ee13d1..9fb577c 100644 --- a/client/grpc/testdata/tls/ca/ca.pem +++ b/client/grpc/testdata/tls/ca/ca.pem @@ -1,31 +1,31 @@ -----BEGIN CERTIFICATE----- -MIIFQzCCAyugAwIBAgIUW/QL+G/bdkeWWyYADw1HUlfTjRYwDQYJKoZIhvcNAQEN +MIIFQzCCAyugAwIBAgIUJlWQCzKjfX+2IJmivDsT2F1YW+UwDQYJKoZIhvcNAQEN BQAwMTEKMAgGA1UEBhMBQzEKMAgGA1UEBxMBTDEXMBUGA1UEChMOSExGLVNESy1H -TyBUTFMwHhcNMjMwNTI5MTE0ODAwWhcNMjgwNTI3MTE0ODAwWjAxMQowC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SKGICJNZBA9pfD2qm/rqE47JNVY +TzadI6R4bw== -----END CERTIFICATE----- diff --git a/client/grpc/testdata/tls/ca/cfssl.json b/client/grpc/testdata/tls/ca/cfssl.json new file mode 100644 index 0000000..53f9b61 --- /dev/null +++ b/client/grpc/testdata/tls/ca/cfssl.json @@ -0,0 +1,27 @@ +{ + "signing": { + "default": { + "expiry": "8760h" + }, + "profiles": { + "server": { + "usages": [ + "signing", + "digital signing", + "key encipherment", + "server auth" + ], + "expiry": "87600h" + }, + "client": { + "usages": [ + "signing", + "digital signature", + "key encipherment", + "client auth" + ], + "expiry": "87600h" + } + } + } +} \ No newline at end of file diff --git a/client/grpc/testdata/tls/ca/csr.json b/client/grpc/testdata/tls/ca/csr.json index fed218f..454b0bd 100644 --- a/client/grpc/testdata/tls/ca/csr.json +++ b/client/grpc/testdata/tls/ca/csr.json @@ -1,4 +1,8 @@ { + "CA": { + "expiry": "87600h", + "pathlen": 0 + }, "hosts": [ "localhost", "127.0.0.1" diff --git a/client/grpc/testdata/tls/client/cert-key.pem b/client/grpc/testdata/tls/client/cert-key.pem index 25b1f2f..5b076fd 100644 --- a/client/grpc/testdata/tls/client/cert-key.pem +++ b/client/grpc/testdata/tls/client/cert-key.pem @@ -1,51 +1,51 @@ -----BEGIN RSA PRIVATE KEY----- -MIIJKAIBAAKCAgEAxmUcAoJoKFeT8G0Z/0D9Ry+IDKvsYh9mcU3gxpulPClC7lfk -L9annoTHzfHka14/GIcoDFAVBPkdJv34UD3e+6FDOyHokEgNrhCZtG0YBDwOIu/w -/zR/2idbUNBhxQ8XuFGCBdMfxwWlUzqnH/hCsVaEjZ+HcWOkrbgr1OGB4YRcNn+2 -eqIiN5S56ierpDQJWg76DKnFq1caGtbBuBbXehsMhuRH7C3/mDNOTx63+kSGdn1z -yCbL1eTjqoTXZh0ERYsDtVcyAKH1feK71YoabaX+G+7BLGmgv0+yurU1tksAQ5lO -3MbwujvoBqHoo7qFL9Gfeknybi837yWMd+NsSak5iXDgtDD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/0l3tjNO80MXl1l2FIktfGKMzBP6XEkb4TKTBZ4 +2L4aH8bbMEk8HW5xqL9ms8XgdgemvNF5WuXg/bg3dnbbD3qg6cPYCpMr0e25Yra8 +QBuXrwo/944TxJt5aEflIqAnvfGapBgAXjx8tEKk1k819UP2eFXoq5/LcsyvDASs +1Sv7ENixurEv8rbwrOM1PSomTjwrb6BALVFY97NthVZAZ58ceWvX2/ELCTrvvzYI +ny1vlNwhXxUe19Jge7LFcHdB/a0zMarZAoIBAQC+X1mRVKgcD8bqa3U8VaUydGFS +s1d+jMUE98chbBAhFddaTVKpGf66o4KfDH6Cq0fl31fXQQscemeexO4jFcBXpb5y +q7/lCtZh3Dk6oZ5qKtNNzag4UEHoPYBgi1B4HdksQU2y12bWhrck8UChy6qDUB+l +JS9XJl5TYvf7iSoBJhGydr9XPisdfG2lQI1zceTRKuFIHXGlprWIEQovgTepuJgO +iuAcYvpBNplZK0HgIoERnIc05dYq39roCS0jpkk9y5kmF3+lkRW+1uDQXt3UFPSZ +yXbjBcxUcqycqSLMSztwQAwSKzaEWwuGE4PvP3TA3e8rdeLCYOBsRDG4Crg6 -----END RSA PRIVATE KEY----- diff --git a/client/grpc/testdata/tls/client/cert.csr b/client/grpc/testdata/tls/client/cert.csr index b6213ca..93ca1c3 100644 --- a/client/grpc/testdata/tls/client/cert.csr +++ b/client/grpc/testdata/tls/client/cert.csr @@ -1,28 +1,27 @@ -----BEGIN CERTIFICATE REQUEST----- -MIIEujCCAqICAQAwTjELMAkGA1UEBhMCUlUxDzANBgNVBAgTBk1vc2NvdzEPMA0G +MIIEkzCCAnsCAQAwTjELMAkGA1UEBhMCUlUxDzANBgNVBAgTBk1vc2NvdzEPMA0G A1UEBxMGTW9zY293MQswCQYDVQQKEwJTNzEQMA4GA1UECxMHVGVjaExhYjCCAiIw -DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMZlHAKCaChXk/BtGf9A/UcviAyr -7GIfZnFN4MabpTwpQu5X5C/Wp56Ex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763DUQLKJVJF1Hfry0cLHS +4+NZ88W/JEAp2NZzAgMBAAGgADANBgkqhkiG9w0BAQ0FAAOCAgEAJx1UqYLOnFMA +Gr75om1NqHj+8PxanTIhuJz6EULnpYkJGezqHCHkZy9mN40nPWOIg8+RMOCZkQ8X +diiLuZQzH7uNRi701rb18DQEK1WeTSEfQuCjnrqss8tspH2GHJc7d4ImjRnvia2N +E/KS30ms7xmOQeBAJAGVG30vf1lvJ8OYkS6RhRW3d80n/vXaTsT0HEb9ief78Jps +s1/3HRKmr/3oA/753CTdsl/gLfpHwemNTv6aiwuE35B1jgK2o7Ln/CzSOh5sWLj8 +yZ/hu5FBt51MGL1+xWI1ghXYsVW/LEn421itCmsmH/P4GakOGLGafXdjBn6vqBw+ +UjCcPk+0XtPYLXQ640eZxgaOzT5uUr4bIFurfmvnEVWCRcuu4bf2tN+UKLWDw95I +zeQh8J473W4zq6ofEGq1ZGScUFP6E3Y9MVJQy9em67Q2u/IE2nCLODFdEIQmW8xv +GXmpTMuNKaKf8qTDiNRpVNEm0LepVNeb5WqJ8tEyhav+256Zodn66TI0EdhsJq6n +APonLNaISBt4niRHApz8HxLFpy4p2u0OOXJmpvy9NaVldAtJPC/hCbwcVeppGv9E +Hr7AgkAtIYgmAb5IyvzL28jDN2OJvaTobN/ou/vEsm/wq7Czy2+rDKPL2tKqP5tJ +NRLUqHrMvzCm6Q9V2TacbY7M1H+N8RE= -----END CERTIFICATE REQUEST----- diff --git a/client/grpc/testdata/tls/client/cert.pem b/client/grpc/testdata/tls/client/cert.pem index b58497a..a1a0f52 100644 --- a/client/grpc/testdata/tls/client/cert.pem +++ b/client/grpc/testdata/tls/client/cert.pem @@ -1,33 +1,32 @@ -----BEGIN CERTIFICATE----- -MIIFpDCCA4ygAwIBAgIUIre5Dp2DWYSA/c2Qtyq45ztNO2swDQYJKoZIhvcNAQEN +MIIFgjCCA2qgAwIBAgIUWRYZaPdeDIm/xs27i8Y5NqCJB+owDQYJKoZIhvcNAQEN BQA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HP0+mAQIKp3lu2qLGzWkCtMt27RJFWQrlGkrQF3Prnvp2ulz3pU1qDy2eNCph +1BFT0PusbMpZz/gauNrmumiDBdtZiUSopcaQVj5k72MhvizZBhRy9KPLoRxXbFgm +tmiDFaFw83shwtfpHMMrF/ysgeAX6F/xn9vIAuC3QC7RMkpRYUTHoadlrXLfodQP +OndgSW5VW0A9unHrEKaNWdjUC6FJuNi9wNi0Wo0H5nqfswH2mkOvC+sK1DGsxdBm +CfYbS/+szVNxF5uP5fMUhSM0fOioxZUmAdbe40iJVvosLnev2UJtkEekSyQRxNRw +8nTaD+40ezZdpSdbirhlFwIaROgaMA== -----END CERTIFICATE----- diff --git a/client/grpc/testdata/tls/readme.md b/client/grpc/testdata/tls/readme.md index ecf86af..38da9e7 100644 --- a/client/grpc/testdata/tls/readme.md +++ b/client/grpc/testdata/tls/readme.md @@ -9,11 +9,11 @@ cd ./ca && cfssl genkey -initca csr.json | cfssljson -bare ca ## Issue client certificate ``` -(cd ./client && cfssl gencert -ca ../ca/ca.pem -ca-key ../ca/ca-key.pem csr.json | cfssljson -bare) +(cd ./client && cfssl gencert -ca ../ca/ca.pem -ca-key ../ca/ca-key.pem -config ../ca/cfssl.json -profile client csr.json | cfssljson -bare) ``` ## Issue server certificate ``` -(cd ./server && cfssl gencert -ca ../ca/ca.pem -ca-key ../ca/ca-key.pem csr.json | cfssljson -bare) +(cd ./server && cfssl gencert -ca ../ca/ca.pem -ca-key ../ca/ca-key.pem -config ../ca/cfssl.json -profile server csr.json | cfssljson -bare) ``` \ No newline at end of file diff --git a/client/grpc/testdata/tls/server/cert-key.pem b/client/grpc/testdata/tls/server/cert-key.pem index b915e69..f853dba 100644 --- a/client/grpc/testdata/tls/server/cert-key.pem +++ b/client/grpc/testdata/tls/server/cert-key.pem @@ -1,51 +1,51 @@ -----BEGIN RSA PRIVATE KEY----- -MIIJKAIBAAKCAgEAzNXaBrgWvv9S52fl1+i5fJ7sONyfNYwm7cOT0Ricl3JXkQbT -o8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cI4uBIVKma/P0ejd1Jopy +Eqcm7As78GiVbRB7c5SxAZRwRl7s+KHzt9S4leuVt5PT7Oy+oaQoi4UculHGrrNP +iXoCyKKzhn3Iy/hh7YEbyeXiaXCtBD7ikyABMiS7TuTzP7VcXMpFLzphoPLsHjAQ +LvxdiSWjugtB/zSYPfQxnxTbnDo+kIknF7MeEf4PVIJL82ulu7hIv0EJuVBIBZCu +mVawGPECggEBAOVoBYbtqLABIEb+gnhS1hI7faOkyOtsHEE4cFt+6avqPsyjZaEv +PHLaF5LB7c4uaVsQvK7d4lLlugEqGn3uCQYn6t/uyo3k1XFWjOTbwGJsnxtREMai ++gnNt0S3Tl6bJ2V4UqTs7hTJ4r23QQopomrJ5JZRaPlZ/FOvLFwHHchWbXu4lNJi +ar5uox6STfW5/eIB0fK1SQyYTtyEa4CWvGJVylIWWjK76FX/KBev7yuh6NyZ/q7X +AXClxturk1wl2RUDzXSqGeziEYRhBa/AX6f//iYR/knUUA2qDhhkiyOqSMLZklzo +Rsn5Nx6Mx8xsQ+R66vN+VPuyTygNaC+ECX8CggEAT+6lo9EWc5znzj4P2F5zGwmr +6FJ6P9YVeT7Ak/utaMK4srFlbJEwVoRMuMaLnvtgQ3GzNFwjEbX3KW3mvR7raNqX +9w6re6tMI32pIVSfcjOXI0F7dkAJAMEFQXRDSRBh2RgFI4jfXLqaRIcSn7yLNRDn +QqmcdhTIacuKfeVvsX63/DF5oMnquC7Cb+Atppj8MwkzFTvsezyeIdWGSbWeyqIo +oNuc7v88ZWy3It7vzXsoh2GsOF1CzzeejhgabsmGNpLLztW4uMkbQBpPE9w/kp/1 +M4AjU8inEWYHGg5cZKORYESLcj8GemzrlgOUoxIYbmIsXW1RALTkVRYB6gDaEQ== -----END RSA PRIVATE KEY----- diff --git a/client/grpc/testdata/tls/server/cert.csr b/client/grpc/testdata/tls/server/cert.csr index d297900..e153638 100644 --- a/client/grpc/testdata/tls/server/cert.csr +++ b/client/grpc/testdata/tls/server/cert.csr @@ -1,28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FGqJbpbEUzSVU6E= -----END CERTIFICATE REQUEST----- diff --git a/client/grpc/testdata/tls/server/cert.pem b/client/grpc/testdata/tls/server/cert.pem index 54d1ed6..79a96e4 100644 --- a/client/grpc/testdata/tls/server/cert.pem +++ b/client/grpc/testdata/tls/server/cert.pem @@ -1,33 +1,33 @@ -----BEGIN CERTIFICATE----- -MIIFqjCCA5KgAwIBAgIUcSrOhcIPadxllMbZJw05+ZGTzpUwDQYJKoZIhvcNAQEN +MIIFoDCCA4igAwIBAgIURW1B4mjJTUQCgNOj1+9+Gl2ge+wwDQYJKoZIhvcNAQEN BQAwMTEKMAgGA1UEBhMBQzEKMAgGA1UEBxMBTDEXMBUGA1UEChMOSExGLVNESy1H -TyBUTFMwHhcNMjMwNTI5MTE1NzAwWhcNMjQwNTI4MTE1NzAwWjBOMQswCQYDVQQG +TyBUTFMwHhcNMjQwNjA0MTIxNTAwWhcNMzQwNjAyMTIxNTAwWjBOMQswCQYDVQQG EwJSVTEPMA0GA1UECBMGTW9zY293MQ8wDQYDVQQHEwZNb3Njb3cxCzAJBgNVBAoT AlM3MRAwDgYDVQQLEwdUZWNoTGFiMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC -CgKCAgEAzNXaBrgWvv9S52fl1+i5fJ7sONyfNYwm7cOT0Ricl3JXkQbTo8cTr2fm -kB+UWuo4zXeR+yFPG++CRTfoO9bibdrY9W1VFVfVEBn52YywhklartrhR26VKzIW -KVq4dNF0eOX5GfM9/LwieF03KavwV9sAGyjviD46XlYwfseqC9Dtm7sD6y29nggI -hLHznLGGagyJokk1JYrUSt40saAHRiqpkPPZclMJuobHsk5a8iFegqF+EsDjBJmu -UmBWM0C70Fmdu5xKQhWmGacbcg+qHrBGdZ2ABJyPKf+c4xOPiONMjn9b3pi5GXQ/ -cCdAow+d+uFFVCDUOekEk8W1MObft/llxj/VfylTCfYyNp+2JpzIjRvvxlJjCotq -0NIQR3ruJdhVfkdxVD/OcSlZBoQnVN8mDdUjDuh0R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