Статус: Активный участник
  Группы: Участники
 Зарегистрирован: 27.04.2016(UTC) Сообщений: 108
  Сказал(а) «Спасибо»: 9 раз Поблагодарили: 1 раз в 1 постах
  
	 
	
     | 
    
        
            
		      
                Автор: Евгений Афанасьев  Вероятно, ни одна из сюит не устраивает сервер. Нужно выяснять на стороне сервера.  Установил JCP 2.0.38 версии, ошибка на "connection.connect()":  Код:INFO: java.lang.IllegalArgumentException: null or zero-length authentication type 
 Сертификат "Valid from Wed Nov 07 11:49:53 MSK 2018 until Thu Nov 07 11:59:53 MSK 2019" присутствует в списке доверенных. Лог:
 
  Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.f q FINE: %% ClientHello, TLSv1; Cipher Suites: [TLS_CIPHER_2012, TLS_CIPHER_2001]; Compression Methods: 0; Extensions: Extension ext_hash_and_mac_alg_select, ext_hash_and_mac_alg_select: [48, 32, 48, 30, 48, 8, 6, 6, 42, -123, 3, 2, 2, 9, 48, 8, 6, 6, 42, -123, 3, 2, 2, 22, 48, 8, 6, 6, 42, -123, 3, 2, 2, 23], Extension renegotiation_info, renegotiated_connection: <empty>; Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.am b FINER: --WRITE-- Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.D a ALL: [Raw write]: length = 97 *** *** ***
  Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.am a FINER: Reading and processing packages... Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.am a FINER: --READ-- Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.v a ALL: [Raw read]: length = 5 0000: 16 03 01 00 51                                     ....Q
  Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.v a ALL: [Raw read]: length = 81 *** *** ***
  Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.ad <init> FINE: ServerHello sessionId: {88, 54, 62, 63, 14, 57, 23, 187, 192, 119, 136, 20, 45, 223, 55, 56, 70, 44, 6, 35, 192, 122, 158, 49, 247, 143, 1, 235, 198, 246, 160, 165} Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.ao a FINE: %% ServerHello, TLSv1; Cipher Suite: TLS_CIPHER_2012; Compression Method: 0; Extensions: Extension renegotiation_info, renegotiated_connection: <empty>; Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.f a FINE: handshakeDigest :1f63d05e Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.y <init> FINER: Created:  [Session-1, TLS_CIPHER_2012] Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.ao a FINE: ** New session TLS_CIPHER_2012 Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.v f ALL: [read] hashes: len = 81 *** *** ***
  Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.am a FINER: --READ-- Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.v a ALL: [Raw read]: length = 5 0000: 16 03 01 08 05                                     .....
  Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.v a ALL: [Raw read]: length = 2053 *** *** ***
  Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.ao a FINE: %% Certificate message:
 
    Subject: CN=***, OID.1.2.643.3.131.1.1=#120***, OID.1.2.643.100.1=#120***, O=***, L=г. Москва, STREET=", д. 11", ST=77 г.Москва, C=RU, EMAILADDRESS=info@***   Valid from Wed Nov 07 11:49:53 MSK 2018 until Thu Nov 07 11:59:53 MSK 2019
  Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.am a FINER: Thread-8, handling exception: java.lang.IllegalArgumentException: null or zero-length authentication type Apr 01, 2019 1:31:20 PM ru.CryptoPro.ssl.am a FINE: THROW java.lang.IllegalArgumentException: null or zero-length authentication type 	at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:149) 	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:186) 	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:107) *** 
Помогите пожалуйста. Отредактировано пользователем 1 апреля 2019 г. 14:12:41(UTC)
 | Причина: Не указана  
            
	  
         
     |