如何测试Milo客户端与服务器的连接是否实际使用加密?

时间:2021-11-06 07:28:42

When using Eclipse Milo as a client, I want to test, after the connection has been established, if the connection is actually using encryption.

当使用Eclipse Milo作为客户端时,我想在连接建立后测试连接是否实际使用加密。

What is the best approach to do so?

这样做的最佳方法是什么?

1 个解决方案

#1


1  

To truly verify you would need to look at Wireshark. Wireshark understands OPC-UA, so after configuring it to interpret the port of the server you're connected to as UA, you'll see all the messages show up as "UA Secure Conversation Message" or something along those lines. When encryption is not used you can actually see the type, full structure, and content of every message between client and server.

要真正验证您需要查看Wireshark。 Wireshark了解OPC-UA,因此在配置它以解释您作为UA连接的服务器的端口后,您将看到所有消息显示为“UA安全对话消息”或类似的行。如果不使用加密,您实际上可以看到客户端和服务器之间每条消息的类型,完整结构和内容。

#1


1  

To truly verify you would need to look at Wireshark. Wireshark understands OPC-UA, so after configuring it to interpret the port of the server you're connected to as UA, you'll see all the messages show up as "UA Secure Conversation Message" or something along those lines. When encryption is not used you can actually see the type, full structure, and content of every message between client and server.

要真正验证您需要查看Wireshark。 Wireshark了解OPC-UA,因此在配置它以解释您作为UA连接的服务器的端口后,您将看到所有消息显示为“UA安全对话消息”或类似的行。如果不使用加密,您实际上可以看到客户端和服务器之间每条消息的类型,完整结构和内容。