com.github.joschi.jadconfig.ValidationException: Unreadable or missing REST API private key: /etc/graylog/secrets/pkcs8-encrypted.pem

Google Groups | Evgueni Gordienko | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Unreadable or missing REST API private key

    Google Groups | 6 months ago | Evgueni Gordienko
    com.github.joschi.jadconfig.ValidationException: Unreadable or missing REST API private key: /etc/graylog/secrets/pkcs8-encrypted.pem

    Root Cause Analysis

    1. com.github.joschi.jadconfig.ValidationException

      Unreadable or missing REST API private key: /etc/graylog/secrets/pkcs8-encrypted.pem

      at org.graylog2.plugin.BaseConfiguration.validateRestTlsConfig()
    2. graylog2-plugin
      BaseConfiguration.validateRestTlsConfig
      1. org.graylog2.plugin.BaseConfiguration.validateRestTlsConfig(BaseConfiguration.java:439)[graylog.jar:?]
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_65]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_65]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_65]
      4. java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_65]
      4 frames
    4. JadConfig
      JadConfig.process
      1. com.github.joschi.jadconfig.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:53)[graylog.jar:?]
      2. com.github.joschi.jadconfig.JadConfig.invokeValidatorMethods(JadConfig.java:221)[graylog.jar:?]
      3. com.github.joschi.jadconfig.JadConfig.process(JadConfig.java:100)[graylog.jar:?]
      3 frames
    5. org.graylog2.bootstrap
      Main.main
      1. org.graylog2.bootstrap.CmdLineTool.processConfiguration(CmdLineTool.java:351)[graylog.jar:?]
      2. org.graylog2.bootstrap.CmdLineTool.readConfiguration(CmdLineTool.java:344)[graylog.jar:?]
      3. org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:177)[graylog.jar:?]
      4. org.graylog2.bootstrap.Main.main(Main.java:44)[graylog.jar:?]
      4 frames