Skip to content
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

Cloud: Verify Cloud ID in Certificate Common Name during TLS Handshake #633

Open
jkralik opened this issue Jun 3, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@jkralik
Copy link
Member

jkralik commented Jun 3, 2024

Current behavior:

Currently, the cloud client establishes a connection to the cloud server without verifying if the cloud contains the ID in the certificate's common name.

Expected behavior:

During the TLS handshake, the tls_verify_callback should check if the common name of the certificate contains the cloud ID. The code needs to be modified accordingly.

Note: The cloud will set its own verify callback to verify the cloud ID. All other setup will remain the same as before.

For inspiration, refer to this example.

@jkralik jkralik added the bug Something isn't working label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant