Статус: Участник
Группы: Участники
Зарегистрирован: 05.08.2011(UTC) Сообщений: 13
|
Цитата:в последних версиях jtls должно поддерживаться. Тут вопрос состоит именно в том, поддерживается ли renegotiation, если использовать JTLS со стороны клиента, а не сервера. Версия JTLS - 1.0.52. SSL handshake у .net-клиента и у java-клиента различаются достаточно сильно. Java: Код:TLS:TLS Rec Layer-1 HandShake: Client Hello. {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:TLS Rec Layer-1 HandShake: Server Hello. Certificate. Server Hello Done. {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:TLS Rec Layer-1 HandShake: Client Key Exchange. {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:TLS Rec Layer-1 Cipher Change Spec {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:TLS Rec Layer-1 HandShake: Encrypted Handshake Message. {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:TLS Rec Layer-1 Cipher Change Spec; TLS Rec Layer-2 HandShake: Encrypted Handshake Message. {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:TLS Rec Layer-1 SSL Application Data {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:TLS Rec Layer-1 SSL Application Data {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:TLS Rec Layer-1 HandShake: Encrypted Handshake Message. {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:Continued Data: 11040 Bytes {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:Continued Data: 11040 Bytes {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:Continued Data: 5520 Bytes {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:TLS Rec Layer-1 SSL Application Data {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:TLS Rec Layer-1 HandShake: Encrypted Handshake Message. {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
TLS:TLS Rec Layer-1 Encrypted Alert {TLS:305, SSLVersionSelector:304, TCP:303, IPv4:60}
.NET: Код:TLS:TLS Rec Layer-1 HandShake: Client Hello. {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
TLS:TLS Rec Layer-1 HandShake: Server Hello.; TLS Rec Layer-2 Cipher Change Spec; TLS Rec Layer-3 HandShake: Encrypted Handshake Message. {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
TLS:TLS Rec Layer-1 Cipher Change Spec; TLS Rec Layer-2 HandShake: Encrypted Handshake Message.; TLS Rec Layer-3 SSL Application Data {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
TLS:TLS Rec Layer-1 HandShake: Encrypted Handshake Message. {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
TLS:TLS Rec Layer-1 HandShake: Encrypted Handshake Message. {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
TLS:TLS Rec Layer-1 HandShake: Encrypted Handshake Message. {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
TLS:Continued Data: 29 Bytes; TLS Rec Layer-3 HandShake: Encrypted Handshake Message. {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
TLS:Continued Data: 29 Bytes; TLS Rec Layer-2 HandShake: Encrypted Handshake Message. {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
TLS:TLS Rec Layer-1 SSL Application Data {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
TLS:TLS Rec Layer-1 SSL Application Data {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
TLS:Continued Data: 2776 Bytes {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
TLS:TLS Rec Layer-1 SSL Application Data {TLS:63, SSLVersionSelector:62, TCP:61, IPv4:60}
А реализуют ли JTLS и КриптоПро TLS спецификацию http://www.ietf.org/rfc/rfc5746.txt?Иначе, чем можно объяснить то, что даже первоначальный ClientHello от Java не содержит ни TLS Renegotiation Extension, ни TLS_EMPTY_RENEGOTIATION_INFO_SCSV Cipher Suite, которые должны присутствовать, если верить http://www.ietf.org/rfc/rfc5746.txt, в то время как у .NET клиента, который использует CSP есть дополнительный ClientHelloExtension? Отредактировано пользователем 10 февраля 2012 г. 18:31:53(UTC)
| Причина: Не указана
|