Automatic Certificate Distribution
Certificates delivered in-band via bootstrap process or claim redemption - no out-of-band secure channel required
Appears in
- VMS Security & PKI / Certificate Automation
Topics
Dependencies
Automatic Certificate Distribution
Certificates are delivered in-band via bootstrap process or claim redemption - no out-of-band secure channel required.
Distribution Methods
Backbone Sites (Bootstrap):
- Initial bootstrap YAML contains temporary claim certificate
- Site controller uses claim cert to connect to backbone
- Management controller sends site certificate via in-band communication
- Site controller applies certificate to router
Member Sites (Invitation):
- Invitation YAML contains invitation claim certificate
- Participant applies YAML to their environment
- Site controller uses claim cert to contact management controller
- Management controller validates claim and issues member certificate
- Member certificate sent via in-band communication
- Site reconfigures with member certificate
In-band Delivery
All certificate distribution uses the data plane:
- No out-of-band channel - No email, manual file transfer, or secure FTP
- No shared secrets - Certificates are the authentication mechanism
- Automatic delivery - Site controllers handle the exchange
- Encrypted transport - TLS-secured communication via routers
Sync Mechanism
Certificates are synchronized as TLS secrets:
Record key: tls-site-<site-id> or tls-server-<access-point-id>
Payload:
- Rotation ordinal
- Last valid ordinal
- ca.crt - CA certificate
- tls.crt - Site/access point certificate
- tls.key - Private key
Target: Kubernetes Secret with annotations for rotation tracking
Contrast with Manual Distribution
Manual approach (VMS eliminates):
- Generate certificate on one system
- Securely transfer to another system (email, S3, shared drive)
- Manually apply certificate to destination
- Coordinate timing across sites
- Verify correct certificate installed
VMS automatic distribution:
- Certificate generated by management controller
- Automatically delivered via data plane
- Site controller applies to local router
- Immediate verification via heartbeat
- No manual coordination
Security Properties
Bootstrapping trust:
- Initial claim certificate in bootstrap/invitation YAML
- Claim cert has restricted access (claim redemption only)
- Full certificate issued after validation
- No opportunity for man-in-the-middle during exchange
Ongoing distribution:
- Certificate rotation uses same in-band mechanism
- Old and new certificates valid during transition
- Seamless rotation without manual intervention
Source
Based on human/vms/README.md and human/vms/docs/notes/objects.md