Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for KEYSTORE (0.16 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpsToHttpRedirectResolveIntegrationTest.groovy

        }
    
        @Override
        boolean defaultAllowInsecureProtocol() {
            return true
        }
    
        void beforeServerStart() {
            keyStore = TestKeyStore.init(resources.dir)
            keyStore.enableSslWithServerCert(server)
            keyStore.configureServerCert(executer)
        }
    
        def "refuses resolves module artifacts via HTTPS to HTTP redirect"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/AbstractHttpScriptPluginIntegrationSpec.groovy

            server.start()
            executer.requireOwnGradleUserHomeDir()
        }
    
        protected void applyTrustStore() {
            def keyStore = TestKeyStore.init(resources.dir)
            keyStore.enableSslWithServerCert(server)
            keyStore.configureServerCert(executer)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:45:30 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/DeprecatedTLSVersionTest.groovy

        @Rule
        SetSystemProperties properties = new SetSystemProperties(keyStore.getServerAndClientCertSettings())
    
        def "server that only supports deprecated TLS versions"() {
            given:
            HttpClientHelper client = new HttpClientHelper(new DocumentationRegistry(), settings)
            // Only support older TLS versions
            server.configure(keyStore, false) { it -> DEPRECATED_TLS_VERSIONS.contains(it) }
            server.start()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/resource/TextResourceIntegrationTest.groovy

        def "uri backed text resource over https"() {
            given:
            def uuid = UUID.randomUUID()
            def resourceFile = file("web-file.txt")
            def keyStore = TestKeyStore.init(resource.dir)
            keyStore.enableSslWithServerCert(server)
            keyStore.configureServerCert(executer)
    
            server.expectGet("/myConfig-${uuid}.txt", resourceFile)
            server.start()
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpsIntegrationTest.groovy

        TestKeyStore keyStore
    
        def setup() {
            keyStore = TestKeyStore.init(resources.dir)
            // We need to set the SSL properties as arguments here even for non-embedded test mode
            // because we want them to be set on the wrapper client JVM, not the daemon one
            wrapperExecuter.withArguments(keyStore.getTrustStoreArguments())
            server.configure(keyStore)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingJavaPerformanceTest.groovy

            runner.warmUpRuns = 2
            runner.runs = 8
            runner.addBuildMutator { cleanLocalCache() }
    
            def keyStore = TestKeyStore.init(temporaryFolder.file('ssl-keystore'))
            keyStore.enableSslWithServerCert(buildCacheServer)
    
            runner.gradleOpts.addAll(keyStore.serverAndClientCertArgs)
    
            when:
            def result = runner.run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/AbstractWrapperIntegrationSpec.groovy

        void prepareWrapper(URI distributionUri = distribution.binDistribution.toURI(), TestKeyStore keyStore) {
            def executer = new InProcessGradleExecuter(distribution, temporaryFolder)
            executer.withArguments(
                "wrapper",
                "--gradle-distribution-url",
                distributionUri.toString(),
            )
            keyStore.trustStoreArguments.each {
                executer.withArgument(it)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. .space/safe-merge.json

      "builds": [
        {
          "teamcity": {
            "configuration": "Kotlin_KotlinDev_SafeMerge",
            "url": "https://buildserver.labs.intellij.net",
            "token": "${space-safe-merge-kt}",
            "ssl-keystore": "BuildServer client"
          }
        }
      ]
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Mar 27 13:43:47 UTC 2023
    - 280 bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

            noneSkipped()
            httpBuildCacheServer.authenticationAttempts == ['Basic'] as Set
        }
    
        def "can use a self-signed certificate with allowUntrusted"() {
            def keyStore = TestKeyStore.init(file('ssl-keystore'))
            keyStore.enableSslWithServerCert(httpBuildCacheServer)
            settingsFile.text = useHttpBuildCache(httpBuildCacheServer.uri)
            settingsFile << """
                buildCache {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import java.security.KeyStore
    import java.security.Provider
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509TrustManager
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top