This document describes the changes made to the certificate generation and management architecture in CAPIF, implemented in the `OCF182-certs-generation` branch. The main objective is to allow a single Vault server to serve multiple CAPIF instances efficiently and securely.
## Main Changes
### Previous Architecture
In the previous implementation, Vault was responsible for:
- Generating the root CA and intermediate CA
-**Generating** service certificates
- Storing and distributing certificates
**Problems:**
- Vault generated service certificates (less secure)
- Difficult scalability for multiple CAPIF instances
- Strong coupling between Vault and each CAPIF instance