mirror of https://github.com/grpc/grpc-java.git
Run TLS integration tests using OpenSSL also.
This commit is contained in:
parent
ba4a6ca47b
commit
cdb9ca1912
|
|
@ -157,8 +157,6 @@ public class TlsTest {
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void serverRejectsUntrustedClientCert() throws Exception {
|
public void serverRejectsUntrustedClientCert() throws Exception {
|
||||||
// TODO(ejona): Issue #1325 OpenSSL doesn't work
|
|
||||||
Assume.assumeTrue(sslProvider != SslProvider.OPENSSL);
|
|
||||||
// Create & start a server. It requires client authentication and trusts only the test CA.
|
// Create & start a server. It requires client authentication and trusts only the test CA.
|
||||||
File serverCertFile = TestUtils.loadCert("server1.pem");
|
File serverCertFile = TestUtils.loadCert("server1.pem");
|
||||||
File serverPrivateKeyFile = TestUtils.loadCert("server1.key");
|
File serverPrivateKeyFile = TestUtils.loadCert("server1.key");
|
||||||
|
|
@ -204,9 +202,7 @@ public class TlsTest {
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void noClientAuthFailure() throws Exception {
|
public void noClientAuthFailure() throws Exception {
|
||||||
// TODO(ejona): Issue #1325 OpenSSL doesn't work
|
// Create & start a server.
|
||||||
Assume.assumeTrue(sslProvider != SslProvider.OPENSSL);
|
|
||||||
// Create & start a server.
|
|
||||||
File serverCertFile = TestUtils.loadCert("server1.pem");
|
File serverCertFile = TestUtils.loadCert("server1.pem");
|
||||||
File serverPrivateKeyFile = TestUtils.loadCert("server1.key");
|
File serverPrivateKeyFile = TestUtils.loadCert("server1.key");
|
||||||
X509Certificate[] serverTrustedCaCerts = {
|
X509Certificate[] serverTrustedCaCerts = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue