This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

SSL Decrypt : RSA certificate

0

Please some one help me in creating a RSA key with an example, I tried with steps mentioned in the links : http://wiki.wireshark.org/SSL and https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9144 but I am failing at the RSA certification creation level.

When tried with sample examples rsasnakeoil2.cat and adding rsasnakeoil2.key I'm able to decrypt.

asked 26 Nov '14, 21:26

kalsfru's gravatar image

kalsfru
21336
accept rate: 0%

Adding SSL logs for the above question

ssl_association_remove removing TCP 443 - http handle 0x107e3bd50
Private key imported: KeyID 86:10:02:53:bd:63:6e:c1:99:6f:27:3e:e8:92:a4:50:...
ssl_load_key: swapping p and q parameters and recomputing u
ssl_init IPv4 addr '23.207.140.251' (23.207.140.251) port '443' filename '/Users/salam/Desktop/WireShark/cert2/testkey.pem' password(only for p12 file) ''
ssl_init private key file /Users/salam/Desktop/WireShark/cert2/testkey.pem successfully loaded.
association_add TCP port 443 protocol http handle 0x107e3bd50

dissect_ssl enter frame #103 (first time) ssl_session_init: initializing ptr 0x10aa03f50 size 712 association_find: TCP port 993 found 0x10516a980 packet_from_server: is from server - TRUE conversation = 0x109201958, ssl_session = 0x10aa03f50 record: offset = 0, reported_length_remaining = 551 dissect_ssl3_record found version 0x0301(TLS 1.0) -> state 0x10 dissect_ssl3_record: content_type 23 Application Data decrypt_ssl3_record: app_data len 546, ssl state 0x10 association_find: TCP port 993 found 0x10516a980 packet_from_server: is from server - TRUE decrypt_ssl3_record: using server decoder decrypt_ssl3_record: no decoder available association_find: TCP port 993 found 0x10516a980

dissect_ssl enter frame #168 (first time) association_find: TCP port 48215 found 0x0 packet_from_server: is from server - FALSE conversation = 0x109201958, ssl_session = 0x10aa03f50 record: offset = 0, reported_length_remaining = 63 dissect_ssl3_record: content_type 23 Application Data decrypt_ssl3_record: app_data len 58, ssl state 0x10 association_find: TCP port 48215 found 0x0 packet_from_server: is from server - FALSE decrypt_ssl3_record: using client decoder decrypt_ssl3_record: no decoder available association_find: TCP port 48215 found 0x0 association_find: TCP port 993 found 0x10516a980

dissect_ssl enter frame #219 (first time) association_find: TCP port 993 found 0x10516a980 packet_from_server: is from server - TRUE conversation = 0x109201958, ssl_session = 0x10aa03f50 record: offset = 0, reported_length_remaining = 1045 dissect_ssl3_record: content_type 23 Application Data decrypt_ssl3_record: app_data len 1040, ssl state 0x10 association_find: TCP port 993 found 0x10516a980 packet_from_server: is from server - TRUE decrypt_ssl3_record: using server decoder decrypt_ssl3_record: no decoder available association_find: TCP port 993 found 0x10516a980

(26 Nov ‘14, 23:45) Sharique

but I am failing at the RSA certification creation level.

what is the problem?

(01 Dec ‘14, 17:13) Kurt Knochner ♦