Central Management filebeat enrollment fail

Hi
I'm trying to enroll filebeat to the Central Management but since I use a custom cert I have this error

Error while enrolling: fail to execute the HTTP POST request: Post https://+++++++++/api/beats/agent/++++-++++++-+++++-+++++-++++++: x509: certificate signed by unknown authority

there is a way of configure SSL cert and CA ?

Thanks and regards

Hi Gregory,

Unfortunately this is not supported yet. If you have a GitHub account, I suggest you subscribe to this issue: https://github.com/elastic/beats/issues/9129. That way you'll be notified of its progress.

Shaunak

As mentioned in one of the issue's comments, the workaround for now is to "add the CA to the OS trust store and the enroll subcommand will pick it up."

1 Like

Hi @shaunak thanks for the workaround it works fine and the features are really nice

Thanks and Regards

1 Like

***Update: I went through the steps here and it still didn't seem to work: http://www.sqlservermart.com/HowTo/Windows_Import_Certificate.aspx
I'm running into the same issue. By "add the CA to the OS trust store" I assume that if I'm working on a Windows Server 2016 that it needs to be added somewhere in the MS truststore. Any info on how to do that? I've been reading documentation online but its not getting me anywhere. Any help would be appreciated.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.