diff --git a/kong/db/dao/certificates.lua b/kong/db/dao/certificates.lua index 4e2db6c942bb4..f202b7d3400ff 100644 --- a/kong/db/dao/certificates.lua +++ b/kong/db/dao/certificates.lua @@ -60,6 +60,7 @@ function _Certificates:insert(cert, options) end end + cert.snis = nil cert, err, err_t = self.super.insert(self, cert, options) if not cert then return nil, err, err_t