N
Novu9mo ago
Andy

Self hosted custom SMTP configuration with self signed cert

Having configured a custom SMTP endpoint in Novu 0.18.0 we are getting errors due to the use of a self signed cert e.g. {"err":{"type":"PlatformException","message":"{\"success\":false,\"code\":\"failed\",\"message\":\"self signed certificate\"}","stack":"Error: {\"success\":false,\"code\":\"failed\",\"message\":\"self signed certificate\"}\n at NodemailerHandler.<anonymous> (/usr/src/app/packages/application-generic/build/main/factories/mail/handlers/base.handler.js:42:23)\n at Generator.next (<anonymous>)\n at fulfilled (/usr/src/app/packages/application-generic/build/main/factories/mail/handlers/base.handler.js:5:58)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)"},"responseTime":61,"msg":"request errored"} I'd foolishly disabled the 'Verify provider credentials' slider so I would not lose the settings. Now I am unable to alter any of the SSL related sliders and the SSL Options input box is gone! Could someone give me a few pointers (and maybe an example) as to where I can update these settings? I'm presuming they are stored somewhere in mongo?
2 Replies
Pawan Jain
Pawan Jain9mo ago
Hi @andy_16009 I think we talked about this issue in intercom For other community users, an integration can be deleted using this api and updated using this api We have corresponding methods in backend language sdks as well
Andy
Andy9mo ago
Hi @Pawan Jain , we did, thank you! For anyone else hitting this I would recommend not using the API methods to delete integrations as it renders the integration inoperable - you can't create a new one! I experienced this particular issue on v0.18.0. When I get time I'll try updating an existing integration using the API and report back.