Skip to content

Commit b44ab2c

Browse files
committed
docs(opcua): drop misleading TOFU label from accept-any cert example
The reject_untrusted: false path uses AcceptAll, which pins nothing and re-accepts any server cert on every connect. Calling it TOFU overstated its security and contradicted the corrected code comments and the env-var table. Relabel it as INSECURE, lab only, not trust-on-first-use.
1 parent 80e2cfe commit b44ab2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/ros2_medkit_plugins/ros2_medkit_opcua

src/ros2_medkit_plugins/ros2_medkit_opcua/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ plugins.opcua.client_cert_path: "/etc/ros2_medkit/opcua/client_cert.der" # X.50
265265
plugins.opcua.client_key_path: "/etc/ros2_medkit/opcua/client_key.pem" # private key, PEM
266266
plugins.opcua.application_uri: "urn:selfpatch:medkit:opcua-client" # MUST match the cert SAN URI
267267
plugins.opcua.trust_list_paths: ["/etc/ros2_medkit/opcua/server_cert.der"] # DER trust store
268-
plugins.opcua.reject_untrusted: true # false = accept any server cert (lab/TOFU only)
268+
plugins.opcua.reject_untrusted: true # false = accept ANY server cert (INSECURE, lab only; not trust-on-first-use, nothing pinned)
269269
plugins.opcua.user_auth_mode: "UsernamePassword" # Anonymous | UsernamePassword | X509
270270
plugins.opcua.username: "medkit"
271271
plugins.opcua.password: "..." # inject from a secret store at deploy time

0 commit comments

Comments
 (0)