From 871c3a194fdeca0567fdc308474c4f89446b8b4b Mon Sep 17 00:00:00 2001 From: Chung-Ting Huang Date: Wed, 20 Nov 2019 13:48:33 -0600 Subject: [PATCH] TUN-2562: Update Cloudflare Origin CA RSA root --- tlsconfig/cloudflare_ca.go | 44 +++++++++++++++++++------------------- validation/validation.go | 3 ++- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/tlsconfig/cloudflare_ca.go b/tlsconfig/cloudflare_ca.go index e70cc503..8c4b1a9a 100644 --- a/tlsconfig/cloudflare_ca.go +++ b/tlsconfig/cloudflare_ca.go @@ -26,28 +26,28 @@ mcifak4CQsr+DH4pn5SJD7JxtCG3YGswW8QZsw== -----END CERTIFICATE----- Issuer: C=US, O=CloudFlare, Inc., OU=CloudFlare Origin SSL Certificate Authority, L=San Francisco, ST=California -----BEGIN CERTIFICATE----- -MIID/DCCAuagAwIBAgIID+rOSdTGfGcwCwYJKoZIhvcNAQELMIGLMQswCQYDVQQG -EwJVUzEZMBcGA1UEChMQQ2xvdWRGbGFyZSwgSW5jLjE0MDIGA1UECxMrQ2xvdWRG -bGFyZSBPcmlnaW4gU1NMIENlcnRpZmljYXRlIEF1dGhvcml0eTEWMBQGA1UEBxMN -U2FuIEZyYW5jaXNjbzETMBEGA1UECBMKQ2FsaWZvcm5pYTAeFw0xNDExMTMyMDM4 -NTBaFw0xOTExMTQwMTQzNTBaMIGLMQswCQYDVQQGEwJVUzEZMBcGA1UEChMQQ2xv -dWRGbGFyZSwgSW5jLjE0MDIGA1UECxMrQ2xvdWRGbGFyZSBPcmlnaW4gU1NMIENl -cnRpZmljYXRlIEF1dGhvcml0eTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzETMBEG -A1UECBMKQ2FsaWZvcm5pYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB -AMBIlWf1KEKR5hbB75OYrAcUXobpD/AxvSYRXr91mbRu+lqE7YbyyRUShQh15lem -ef+umeEtPZoLFLhcLyczJxOhI+siL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VNXrCk3fw9/E15k8NPkBazZ6 +0iykLhH1trywrKRMVw67F44IE8Y= -----END CERTIFICATE----- Issuer: C=US, O=CloudFlare, Inc., OU=Origin Pull, L=San Francisco, ST=California, CN=origin-pull.cloudflare.net -----BEGIN CERTIFICATE----- diff --git a/validation/validation.go b/validation/validation.go index 83857230..97233864 100644 --- a/validation/validation.go +++ b/validation/validation.go @@ -190,10 +190,11 @@ func ValidateHTTPService(originURL string, hostname string, transport http.Round _, secondErr := client.Do(secondRequest) if secondErr == nil { // Worked this time--advise the user to switch protocols return errors.Errorf( - "%s doesn't seem to work over %s, but does seem to work over %s. Consider changing the origin URL to %s", + "%s doesn't seem to work over %s, but does seem to work over %s. Reason: %v. Consider changing the origin URL to %s", parsedURL.Host, oldScheme, parsedURL.Scheme, + initialErr, parsedURL, ) }