- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 298 for certificam (0.06 sec)
-
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
- // Add a bad intermediate CA and have that issue a rogue certificate for localhost. Prepare
- // an SSL context for an attacking webserver. It includes both these rogue certificates plus the
- // trusted good certificate above. The attack is that by including the good certificate in the
- // chain, we may trick the certificate pinner into accepting the rouge certificate.
- val compromisedIntermediateCa =
- HeldCertificate.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
- * This is unexpected unless the trust root index in this class has a different trust manager than
- * what was used to establish [chain].
- */
- @Throws(SSLPeerUnverifiedException::class)
- override fun clean(
- chain: List<Certificate>,
- hostname: String,
- ): List<Certificate> {
- val queue: Deque<Certificate> = ArrayDeque(chain)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.8K bytes - Viewed (0) -
internal/config/certs.go
- // password protected.
- const EnvCertPassword = "MINIO_CERT_PASSWD"
- // ParsePublicCertFile - parses public cert into its *x509.Certificate equivalent.
- func ParsePublicCertFile(certFile string) (x509Certs []*x509.Certificate, err error) {
- // Read certificate file.
- var data []byte
- if data, err = os.ReadFile(certFile); err != nil {
- return nil, err
- }
- // Trimming leading and tailing white spaces.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HandshakeTest.kt
- peerCertificates = listOf(serverCertificate.certificate, serverIntermediate.certificate),
- localCertificates = listOf(),
- )
- assertThat(handshake.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
- assertThat(handshake.cipherSuite).isEqualTo(CipherSuite.TLS_AES_128_GCM_SHA256)
- assertThat(handshake.peerCertificates).containsExactly(
- serverCertificate.certificate,
- serverIntermediate.certificate,
- )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
common-protos/k8s.io/api/certificates/v1/generated.proto
- // 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.
- // 6. Whether or not requests for CA certificates are allowed.
- optional string signerName = 7;
- // expirationSeconds is the requested duration of validity of the issued
- // certificate. The certificate signer may issue a certificate with a different
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 11.6K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
- assertThat(listOf(clientCertificate.certificate, clientIntermediate.certificate))
- .isEqualTo(serverHandshake.peerCertificates)
- assertThat(listOf(serverCertificate.certificate, serverIntermediate.certificate))
- .isEqualTo(serverHandshake.localCertificates)
- val clientHandshake = clientHandshakeFuture.get()
- assertThat(listOf(serverCertificate.certificate, serverIntermediate.certificate))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
- }
- }
- fun verify(
- host: String,
- certificate: X509Certificate,
- ): Boolean {
- return when {
- host.canParseAsIpAddress() -> verifyIpAddress(host, certificate)
- else -> verifyHostname(host, certificate)
- }
- }
- /** Returns true if [certificate] matches [ipAddress]. */
- private fun verifyIpAddress(
- ipAddress: String,
- certificate: X509Certificate,
- ): Boolean {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
- In this case, it would use the certificate for `someapp.example.com`.
- <img src="/img/deployment/https/https03.svg">
- The client already **trusts** the entity that generated that TLS certificate (in this case Let's Encrypt, but we'll see about that later), so it can **verify** that the certificate is valid.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 12K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
- val certificate = heldCertificate.certificate
- assertThat(certificate.getSubjectX500Principal().name, "self-signed")
- .isEqualTo(certificate.getIssuerX500Principal().name)
- assertThat(certificate.getIssuerX500Principal().name).matches(Regex("CN=[0-9a-f-]{36}"))
- assertThat(certificate.serialNumber).isEqualTo(BigInteger.ONE)
- assertThat(certificate.subjectAlternativeNames).isNull()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0) -
internal/config/certs_test.go
- }
- certificate, err := createTempFile("public.crt", testCase.certificate)
- if err != nil {
- os.Remove(privateKey)
- t.Fatalf("Test %d: failed to create tmp certificate file: %v", i, err)
- }
- if testCase.password != "" {
- t.Setenv(EnvCertPassword, testCase.password)
- }
- _, err = LoadX509KeyPair(certificate, privateKey)
- if err != nil && !testCase.shouldFail {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 21.6K bytes - Viewed (0)