Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 298 for certificam (0.06 sec)

  1. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

    1. // Add a bad intermediate CA and have that issue a rogue certificate for localhost. Prepare
    2. // an SSL context for an attacking webserver. It includes both these rogue certificates plus the
    3. // trusted good certificate above. The attack is that by including the good certificate in the
    4. // chain, we may trick the certificate pinner into accepting the rouge certificate.
    5. val compromisedIntermediateCa =
    6. 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)
  2. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

    1. * This is unexpected unless the trust root index in this class has a different trust manager than
    2. * what was used to establish [chain].
    3. */
    4. @Throws(SSLPeerUnverifiedException::class)
    5. override fun clean(
    6. chain: List<Certificate>,
    7. hostname: String,
    8. ): List<Certificate> {
    9. 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)
  3. internal/config/certs.go

    1. // password protected.
    2. const EnvCertPassword = "MINIO_CERT_PASSWD"
    3.  
    4. // ParsePublicCertFile - parses public cert into its *x509.Certificate equivalent.
    5. func ParsePublicCertFile(certFile string) (x509Certs []*x509.Certificate, err error) {
    6. // Read certificate file.
    7. var data []byte
    8. if data, err = os.ReadFile(certFile); err != nil {
    9. return nil, err
    10. }
    11.  
    12. // 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)
  4. okhttp/src/test/java/okhttp3/HandshakeTest.kt

    1. peerCertificates = listOf(serverCertificate.certificate, serverIntermediate.certificate),
    2. localCertificates = listOf(),
    3. )
    4.  
    5. assertThat(handshake.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
    6. assertThat(handshake.cipherSuite).isEqualTo(CipherSuite.TLS_AES_128_GCM_SHA256)
    7. assertThat(handshake.peerCertificates).containsExactly(
    8. serverCertificate.certificate,
    9. serverIntermediate.certificate,
    10. )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/certificates/v1/generated.proto

    1. // 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.
    2. // 6. Whether or not requests for CA certificates are allowed.
    3. optional string signerName = 7;
    4.  
    5. // expirationSeconds is the requested duration of validity of the issued
    6. // 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)
  6. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

    1. assertThat(listOf(clientCertificate.certificate, clientIntermediate.certificate))
    2. .isEqualTo(serverHandshake.peerCertificates)
    3. assertThat(listOf(serverCertificate.certificate, serverIntermediate.certificate))
    4. .isEqualTo(serverHandshake.localCertificates)
    5. val clientHandshake = clientHandshakeFuture.get()
    6. 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)
  7. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

    1. }
    2. }
    3.  
    4. fun verify(
    5. host: String,
    6. certificate: X509Certificate,
    7. ): Boolean {
    8. return when {
    9. host.canParseAsIpAddress() -> verifyIpAddress(host, certificate)
    10. else -> verifyHostname(host, certificate)
    11. }
    12. }
    13.  
    14. /** Returns true if [certificate] matches [ipAddress]. */
    15. private fun verifyIpAddress(
    16. ipAddress: String,
    17. certificate: X509Certificate,
    18. ): 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)
  8. docs/en/docs/deployment/https.md

    1. In this case, it would use the certificate for `someapp.example.com`.
    2.  
    3. <img src="/img/deployment/https/https03.svg">
    4.  
    5. 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)
  9. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

    1. val certificate = heldCertificate.certificate
    2. assertThat(certificate.getSubjectX500Principal().name, "self-signed")
    3. .isEqualTo(certificate.getIssuerX500Principal().name)
    4. assertThat(certificate.getIssuerX500Principal().name).matches(Regex("CN=[0-9a-f-]{36}"))
    5. assertThat(certificate.serialNumber).isEqualTo(BigInteger.ONE)
    6. 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)
  10. internal/config/certs_test.go

    1. }
    2. certificate, err := createTempFile("public.crt", testCase.certificate)
    3. if err != nil {
    4. os.Remove(privateKey)
    5. t.Fatalf("Test %d: failed to create tmp certificate file: %v", i, err)
    6. }
    7.  
    8. if testCase.password != "" {
    9. t.Setenv(EnvCertPassword, testCase.password)
    10. }
    11. _, err = LoadX509KeyPair(certificate, privateKey)
    12. 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)
Back to top