-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cryptography Error when running talker_listener on two machines #263
Comments
When distributing enclaves within a keystore, you'll have to copy over the public folder in the keystore to the external hosts as well. Currently the enclave generation makes use of relative symlinks to point to the public certificates for the trusted certificate authorities. For your multi-machine use case, I assume you've verified that everything is working properly when security is at least disabled, ie your physical networking is set up correctly. |
I have verified that everything is working properly when security is disabled. Meanwhile, I also tried create an empty |
Ok, that's a good start.
What version is this exactly? This isn't specific, so I'm not even sure what ROS2 distro or debian package version this is.
I'm not sure the issue here is with the keystore, but you could tarball the keystore before copying it if scp cant handle symlinks.
The security error log message seems to originate from here: Perhaps you could verify that DDS security for your version of FastRTPS is working outside of ROS? https://github.com/eProsima/Fast-DDS/tree/master/examples/C%2B%2B/SecureHelloWorldExample If this SecureHelloWorldExample isn't working, then you may want to follow up with eProsima or try an alternate RMW. |
Bug report
Required Info:
Steps to reproduce issue
I followed the documentation listed in SROS2_Linux.md and everything works on single machine. Also tried to set up talker and listener on the two test machines without security features and the communication is good.
I then enabled security, and copied the keystore from one machine to another. I tried to copy files under
talker
folder only, and also tried to copy the whole keystore byscp
. When I executed the talker on the remote machine:On the listener side, there's no terminal output:
I also notice that the Security Error is raised when the listener is started. Tried to search for this error online but didn't find anything useful. Anyone can help to resolve?
The text was updated successfully, but these errors were encountered: