In the NewCertificates method, the Certificates field is initialized to nil, which could cause a panic when trying to insert key-value pairs into the map. It should be initialized to an empty map instead: Certificates: make(map[string]map[string][]byte).
In the NewCertificates method, the Certificates field is initialized to nil, which could cause a panic when trying to insert key-value pairs into the map. It should be initialized to an empty map instead: Certificates: make(map[string]map[string][]byte).