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

Google Groups | Evgueni Gordienko | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unreadable or missing REST API private key

    Google Groups | 4 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