периодические ошибки ssl-сертификата на балансировщике нагрузки rackspace


Ниже приведены два соединения, выполненные с интервалом в несколько секунд.
Как вы можете видеть, одному из них удается получить сертификат ssl, а другому-нет.

Кто-нибудь видел это раньше? Я не могу найти информацию об этом.

первый:

$ openssl s_client -showcerts -status -connect www.myapp.co.uk:443
CONNECTED(00000003)
OCSP response: no response sent
depth=2 C = US, O = "VeriSign, Inc.", OU = VeriSign Trust Network, OU = "(c) 2006 VeriSign, Inc. - For authorized use only", CN = VeriSign Class 3 Public Primary Certification Authority - G5 verify error:num=20:unable to get local issuer certificate verify return:0
- ---
Certificate chain
 0 s:/C=US/ST=California/L=San Jose/O=myapp, Inc./OU=myappshipping(UK)/CN=www.myapp.co.uk
   i:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)10/CN=VeriSign Class 3 Secure Server CA - G3
- -----BEGIN CERTIFICATE-----
MIIFTDCCBDSgAwIBAgIQRvhZ5537NpZioCI4t2jVxDANBgkqhkiG9w0BAQUFADCD
tTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2Ug
YXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykxMDEvMC0GA1UEAxMm
VmVyaVNpZ24gQ2xhc3MgMyBTZWN1cmUgU2VydmVyIENBIC0gRzMwHhcNMTQwMzE0
MDAwMDAwWhcNMTUwMzE1MjM1OTU5WjCBhTELMAkGA1UEBhMCVVMxEzARBgNVBAgT
CkNhbGlmb3JuaWExETAPBgNVBAcUCFNhbiBKb3NlMRMwEQYDVQQKFAplQmF5LCBJ
bmMuMRowGAYDVQQLFBFlQmF5IHNoaXBwaW5nKFVLKTEdMBsGA1UEAxQUd3d3LmVi
YXlzZW5kaXQuY28udWswggEiMA0GCSqGSIb3DQEBAQUAA4I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TNXLuvVpvbHcjElGsCY9IMNwtzTV/Iv7T5jt1l528xl1B3e8Bok5JKuk
kmKDcK0GQ3BDJQl4d7IoJBdLjsTHH3wQMQVfVyRdaRM9HLcMTzFJkv6jfhpfkO4I
9l4e0D9bjemcPN2oZHkZzIEpptlWdH/E6B5SajTvCZE9s624dl8o2OKnQYASYqHC
Iz4us6rCn8y9XyqLVmlHRA==
- -----END CERTIFICATE-----
 1 s:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)10/CN=VeriSign Class 3 Secure Server CA - G3
   i:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5
- -----BEGIN CERTIFICATE-----
MIIF7DCCBNSgAwIBAgIQbsx6pacDIAm4zrz06VLUkTANBgkqhkiG9w0BAQUFADCD
yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJp
U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxW
ZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0
aG9yaXR5IC0gRzUwHhcNMTAwMjA4MDAwMDAwWhcNMjAwMjA3MjM1OTU5WjCBtTEL
MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZW
ZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQg
aHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykxMDEvMC0GA1UEAxMmVmVy
aVNpZ24gQ2xhc3MgMyBTZWN1cmUgU2VydmVyIENBIC0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cNAQEFBQADggEBAAyDJO/dwwzZWJz+NrbrioBL0aP3nfPMU++CnqOh5pfB
WJ11bOAdG0z60cEtBcDqbrIicFXZIDNAMwfCZYP6j0M3m+oOmmxw7vacgDvZN/R6
bezQGH1JSsqZxxkoor7YdyT3hSaGbYcFQEFn0Sc67dxIHSLNCwuLvPSxe/20majp
dirhGi2HbnTTiN0eIsbfFrYrghQKlFzyUOyvzv9iNw2tZdMGQVPtAhTItVgooazg
W+yzf5VK+wPIrSbb5mZ4EkrZn0L74ZjmQoObj49nJOhhGbXdzbULJgWOw27EyHW4
Rs/iGAZeqa6ogZpHFt4MKGwlJ7net4RYxh84HqTEy2Y=
- -----END CERTIFICATE-----
 2 s:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5
   i:/C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority
- -----BEGIN CERTIFICATE-----
MIIE0DCCBDmgAwIBAgIQJQzo4DBhLp8rifcFTXz4/TANBgkqhkiG9w0BAQUFADBD
MQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsT
LkNsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkw
HhcNMDYxMTA4MDAwMDAwWhcNMjExMTA3MjM1OTU5WjCByjELMAkGA1UEBhMCVVMx
FzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz
dCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2lnbiwgSW5jLiAtIEZv
ciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2lnbiBDbGFzcyAz
IFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzUwggEi
MA0GCSqGSIb3DQEBA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xfleLuUqZ87NMwwq14lWAyMfs77oOghZ
tOxFNfeKW/9mz1Cvxm1XjRl4t7mi0VfqH5pLr7rJjhJ+xr3/
- -----END CERTIFICATE-----
- ---
Server certificate
subject=/C=US/ST=California/L=San Jose/O=myapp, Inc./OU=myapp(UK)/CN=www.myapp.co.uk
issuer=/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)10/CN=VeriSign Class 3 Secure Server CA - G3
- ---
No client certificate CA names sent
- ---
SSL handshake has read 4279 bytes and written 643 bytes
- ---
New, TLSv1/SSLv3, Cipher is RC4-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.1
    Cipher    : RC4-SHA
    Session-ID:
6CC8E831C13BAE68C7FB2E43F4E3552866F17F734BF425199DE79083CCEAD622
    Session-ID-ctx:
    Master-Key:
E09C83C3CE6DA1F11795CC2C3924D6C48A54BB63CB6A5FDAF389E619B5C97B00215E3A2E6872081E07A3B562045AE835
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1407940165
    Timeout   : 300 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
- ---
^C

второе:

$ openssl s_client -showcerts -status -connect www.myapp.co.uk:443
CONNECTED(00000003)
139677867542184:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake
failure:s23_lib.c:177:
- ---
no peer certificate available
- ---
No client certificate CA names sent
- ---
SSL handshake has read 0 bytes and written 329 bytes
- ---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
- ---

Если я попробую завить вот что происходит:

$ curl -v https://www.myapp.co.uk
* About to connect() to www.myapp.co.uk port 443 (#0)
*   Trying 37.188.111.150...
* connected
* Connected to www.myapp.co.uk (37.188.111.150) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* Unknown SSL protocol error in connection to www.myapp.co.uk:443
* Closing connection #0
curl: (35) Unknown SSL protocol error in connection to
www.myapp.co.uk:443
1 2

1 ответ:

В конце концов проблема заключалась в том, что клиентские серверы были заблокированы из-за большого количества запросов. Балансировщики нагрузки Rackspace имеют возможность разрешить IP-адреса или сети, после того как я создал правило доступа для IP-адреса клиента, проблема была решена.

Я пришел к этому выводу, потому что конфигурации SSL либо работают, либо нет, они не прерываются, поэтому проблема должна быть где-то еще, кроме того, мы протестировали тот же вызов с других серверов и работали каждый раз. время