help for odtt ADVANCED_SECURITY-3-3-1-v23.06 TLS client authentication – self-signed TLS server certificate with on-device RSA key pair #73
|
Security Configuration/TLS server/TLS Client Authentication in Onvif device test toll version 23.12 . In “ADVANCED_SECURITY-3-3-1-v23.06 TLS client authentication – self-signed TLS server certificate with on-device RSA key pair”, I get an error. Let me describe the error with some contents.
After some TLS settings, odtt sent “Get_Services” and got the reply from the DUT(step 39). From the step 40, 41 and 44, it seems that reply content is good by odtt’s checking. The fatal wound is step 39 with the reason of an unexpected packet format.
(Odtt was installed in PC with ip 192.168.0.241 and DUT’s ip is 192.168.0.225 .) But some packets were just shown application data and encrypted the key content. I try to decrypt them and I can get more information. We focus on packet number 1234, 1350 and 1352 and compare the 2 packet pictures. Find something interesting…. Packet number 1234 is onvif GetService from ODTT. Packet number 1350 is DUT’s GetService reply. Packet number 1352 is TLS Alert. The detail content of packet 1352 is following In RFC 5246 7.2.1 7.2.1. Closure Alerts The client and the server must share knowledge that the connection is ending in order to avoid a truncation attack. Either party may initiate the exchange of closing messages.
This message notifies the recipient that the sender will not send any more messages on this connection. The session becomes unresumable if any connection is terminated without proper close_notify messages with level equal to warning. The close_notify signal is TLS layer connection close, isn’t it? I am not sure the close_notify or another reason caused step 42 error ? If there are other reasons , could you kindly give me more clues? Please give me some information for the test and how to pass step 42. If need more information, for example TLS server settings or Certificates or private key, I will add them. |
Replies: 4 comments 2 replies
|
Our test tool vendor is investigating, and we shall respond as soon as we get a response. Thanks for your patience! |
|
Hi, Please find the response below: At step 39 ONVIF DTT supposed to invoke GetServices using https connection. And it is expected that Device will return https addresses with proper port at the response. According provided screenshots Device returns http addresses, so ONVIF DTT will try to connect to wrong port. Valid addresses: The device addresses: Unfortunately, we could not say for sure since there is lack of information, but most probably seems to be the case. If not, then |
|
Hi! Sincerely But just click again the test right away and may get the failed result. Please focus on the 2 pictures from step 36. The attached test log files are from "save / save current". |
|
Hello! We reproduced exact scenario on our side, and it looks like camera issue. At step 52 of failed scenario, there is GetServices request to HTTP entry point (not HTTPS), but device returns HTTPS service endpoints. As a result, at step 55 Device Test Tool invokes plain HTTP request to HTTPS endpoint. |









Hi,
Please find the response below:
At step 39 ONVIF DTT supposed to invoke GetServices using https connection. And it is expected that Device will return https addresses with proper port at the response. According provided screenshots Device returns http addresses, so ONVIF DTT will try to connect to wrong port.
Valid addresses:
The device addresses:
Unfortunately, we could not say for sure since there is lack of information, but most probably seems to be the case. If not, then
the following logs will be helpful for investigation: