The issue is that secrets folder has to have 0777 settings. But even after that it looks like I'm having same issue as in https://groups.google.com/forum/#!searchin/graylog2/read$20key|sort:relevance/graylog2/V4eqM5ah_ik/wDmRW7JFBQAJ Will investigate.
On Friday, October 14, 2016 at 1:32:58 PM UTC-7, Evgueni Gordienko wrote: > > Hi, > > I enabled tls and the file graylog complains about is there and hase 0777 > permissions set but still I get: > ERROR [CmdLineTool] Invalid configuration > com.github.joschi.jadconfig.ValidationException: Unreadable or missing > REST API private key: /etc/graylog/secrets/pkcs8-encrypted.pem > at > org.graylog2.plugin.BaseConfiguration.validateRestTlsConfig(BaseConfiguration.java:439) > > ~[graylog.jar:?] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_65] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_65] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > ~[?:1.8.0_65] > at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65] > at > com.github.joschi.jadconfig.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:53) > > ~[graylog.jar:?] > at > com.github.joschi.jadconfig.JadConfig.invokeValidatorMethods(JadConfig.java:221) > > ~[graylog.jar:?] > at com.github.joschi.jadconfig.JadConfig.process(JadConfig.java:100) > ~[graylog.jar:?] > at > org.graylog2.bootstrap.CmdLineTool.processConfiguration(CmdLineTool.java:351) > [graylog.jar:?] > at > org.graylog2.bootstrap.CmdLineTool.readConfiguration(CmdLineTool.java:344) > [graylog.jar:?] > at org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:177) > [graylog.jar:?] > at org.graylog2.bootstrap.Main.main(Main.java:44) [graylog.jar:?] > > Any hints - what could be wrong? > The pem file is created according to instructions. > > Evgueni > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/8a5ed76b-71ab-4cbd-9cf9-1a835670f478%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
