【问题标题】:Datastax Opscenter LCM Unable to Decrypt PasswordsDatastax Opscenter LCM 无法解密密码
【发布时间】:2017-01-07 14:05:35
【问题描述】:

我们正在尝试使用 opscenter LCM 在 cassandra 和 dse yaml 文件中使用加密密码。我们按照以下链接中的说明进行操作

https://docs.datastax.com/en/datastax_enterprise/4.8/datastax_enterprise/sec/secEncryptProp.html?hl=encrypt,sensitive

这对我们来说是错误的

INFO  05:54:39  Loading settings from file:/etc/dse/dse.yaml
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.datastax.bdp.config.DseConfig.<clinit>(DseConfig.java:285)
        at com.datastax.bdp.DseCoreModule.<init>(DseCoreModule.java:39)
        at com.datastax.bdp.DseModule.getRequiredModules(DseModule.java:98)
        at com.datastax.bdp.server.AbstractDseModule.configure(AbstractDseModule.java:26)
        at com.datastax.bdp.DseModule.configure(DseModule.java:35)
        at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
        at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
        at com.google.inject.spi.Elements.getElements(Elements.java:101)
        at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
        at com.google.inject.Guice.createInjector(Guice.java:95)
        at com.google.inject.Guice.createInjector(Guice.java:72)
        at com.google.inject.Guice.createInjector(Guice.java:62)
        at com.datastax.bdp.DseModule.main(DseModule.java:71)
Caused by: org.apache.cassandra.exceptions.ConfigurationException: Couldn't decrypt input
        at com.datastax.bdp.config.DseConfig.applyConfig(DseConfig.java:834)
        at com.datastax.bdp.config.DseConfig.<clinit>(DseConfig.java:278)
        ... 13 more

以下是来自 LCM 的配置:

【问题讨论】:

    标签: cassandra datastax datastax-enterprise opscenter


    【解决方案1】:

    看起来您的 config_encryption_key_name 未设置。说明在您链接的文章中。

    【讨论】:

    • config_encryption_key_name 设置为使用此命令创建的 system_key 文件 "dsetool createsystemkey 'AES/ECB/PKCS5Padding' 128 system_key"
    猜你喜欢
    • 1970-01-01
    • 2013-05-23
    • 2023-03-17
    • 1970-01-01
    • 2015-08-08
    • 2023-04-07
    • 2015-10-17
    • 2015-03-04
    • 1970-01-01
    相关资源
    最近更新 更多