openscreenprotocol
openscreenprotocol copied to clipboard
Use certificate serial number in Subject Name
This resolves the circular dependency in agent certificate fingerprint.
Resolves #276
@mfoltzgoogle PTAL?
TODO:
- [x] Alter the PR to match the protocol split.
- [x] Update to match resolution for #275.
- [ ] Verify that TLS mandates the connection is closed if the SNI doesn't match.
I updated the PR based on our discussion from TPAC with a slight adjustment. I retained the counter in the agent serial number to make it easier to implement certificate rotation in the future (it won't require the agent to generate a new UUID).
PTAL @backkem
Looks good to me. It addresses both the circularity and SNI issue. (I can't add a review, maybe because I opened the PR.)
Thanks for picking this up Mark. Sorry I didn't find the time yet.
Thanks. I am going to revert the SVG changes and submit them separately, as the SVG needs to be updated to reflect the updated PR.