Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for enableSslWithServerAndBadClientCert (0.56 sec)

  1. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpsIntegTest.groovy

            failure.assertHasCause("Could not write to resource '${module.jar.uri}'")
        }
    
        def "build fails when server can't authenticate client"() {
            keyStore.enableSslWithServerAndBadClientCert(server)
            initBuild()
    
            when:
            executer.withStackTraceChecksDisabled() // Jetty logs stuff to console
            keyStore.configureServerAndClientCerts(executer)
    
            fails 'publish'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpsIntegTest.groovy

            failure.assertHasCause("Could not write to resource '${module.artifact.uri}")
        }
    
        def "build fails when server can't authenticate client"() {
            keyStore.enableSslWithServerAndBadClientCert(server)
            initBuild()
    
            when:
            executer.withStackTraceChecksDisabled() // Jetty logs stuff to console
            keyStore.configureServerAndClientCerts(executer)
    
            fails 'publish'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractHttpsRepoResolveIntegrationTest.groovy

        }
    
        def "build fails when server can't authenticate client"() {
            keyStore = TestKeyStore.init(resources.dir)
            keyStore.enableSslWithServerAndBadClientCert(server)
    
            setupBuildFile(repoType)
    
            when:
            executer.withStackTraceChecksDisabled() // Jetty logs stuff to console
            keyStore.configureServerAndClientCerts(executer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/keystore/TestKeyStore.groovy

        ) {
            server.enableSsl(trustStore.path, trustStorePassword, keyStore.path, keyStorePassword, configureServer)
        }
    
        void enableSslWithServerAndBadClientCert(
            HttpServerFixture server,
            Action<SslContextFactory.Server> configureServer = Actions.doNothing()
        ) {
            // intentionally use wrong trust store for server
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top