10 Commits

Author SHA1 Message Date
Easwar Swaminathan
6131e9d46e examples: regenerate certs to use SHA256 signing algorithm (#5256) 2022-03-21 10:41:21 -07:00
Easwar Swaminathan
344b93a285 testdata: use SHA256 as signing algorithm in testdata certs (#5074) 2021-12-23 14:02:05 -08:00
ZhenLian
84e85f71c9 internal/credentials: fix a bug and add one more helper function SPIFFEIDFromCert (#3929)
* internal/credentials: fix a bug and add one more helper function
2020-10-09 12:57:50 -07:00
Easwar Swaminathan
2983360ff4 Fix interop tests which rely on the old certs/keys. (#3804) 2020-08-10 15:53:34 -07:00
Easwar Swaminathan
fd393c8989 testdata: Update testdata certs. (#3786)
* This will be used in certprovider tests where we would want more than one server and client certs.
* Also, updated existing usages of these certs to point to the new  files.
* Also copy over the required certs/key files. This avoids the example gomodule from depending on gRPC testdata package which should be able to change independently.
* Fix interop test's SAN.
2020-08-05 09:55:07 -07:00
Jiangtao Li
fe80f08f1f Update test credentials to 2048-bit RSA keys (#3467) 2020-03-23 15:48:25 +01:00
Menghan Li
e00d24941b testdata: get test assets related to package root instead of GOPATH (#2272)
fixes #2270
2018-08-22 09:00:39 -07:00
田欧
ca9e0c3458 Add testdata package and unify testdata to only one dir (#1297) 2017-07-25 10:24:45 -07:00
Julien Boeuf
123c91d04f Updating the test SSL certs.
- For interoperability testing, we need the same certs everywhere.
- This was not possible before because Go could not deal with some field
  being encoded as PRINTABLESTRING in the CA and UTF8STRING in the
  server1 cert. However, the certs have been fixed in:
  https://github.com/grpc/grpc/pull/4096
- Also changed the go root testdata cert to avoid confusion (maybe there
  should not be that many copy of the certs in the repo but I will leave
  this to the repo maintainers).
2015-11-11 14:50:21 -08:00
iamqizhao
cb8841c36e move some tests from end2end.go to clientconn_test.go 2015-11-06 11:33:13 -08:00