Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ssl logstash-codec-avro_schema_注册表和HTTPS验证_Ssl_Https_Logstash_Avro - Fatal编程技术网

Ssl logstash-codec-avro_schema_注册表和HTTPS验证

Ssl logstash-codec-avro_schema_注册表和HTTPS验证,ssl,https,logstash,avro,Ssl,Https,Logstash,Avro,L.S 在Linux系统上的Logstash配置文件中有以下代码: output { kafka { codec => avro_schema_registry { endpoint => "https://xxxxx.schema.server" subject_name => "saac-schema" schema_id => 1121 schema_uri => "

L.S

在Linux系统上的Logstash配置文件中有以下代码:

output {
  kafka {
    codec => avro_schema_registry {
    endpoint => "https://xxxxx.schema.server"
    subject_name => "saac-schema"
    schema_id => 1121
    schema_uri => "https://xxxxx.schema.server"
    base64_encoded => false
    }
  bootstrap_servers => "bootstrap.server:9092"
  topic_id => "saac-schema"
  value_serializer =>  "org.apache.kafka.common.serialization.ByteArraySerializer"
  }
}
正常代码,没什么特别的。HTTPS验证在这里没有问题。但当我查看Logstash输出时,我看到:

config LogStash::Codecs::AvroSchemaRegistry/@username = nil
config LogStash::Codecs::AvroSchemaRegistry/@password = nil
config LogStash::Codecs::AvroSchemaRegistry/@schema_version = nil
config LogStash::Codecs::AvroSchemaRegistry/@schema_string = nil
config LogStash::Codecs::AvroSchemaRegistry/@check_compatibility = false
config LogStash::Codecs::AvroSchemaRegistry/@register_schema = false
config LogStash::Codecs::AvroSchemaRegistry/@binary_encoded = false
config LogStash::Codecs::AvroSchemaRegistry/@tag_on_failure = false
config LogStash::Codecs::AvroSchemaRegistry/@client_certificate = nil
config LogStash::Codecs::AvroSchemaRegistry/@client_key = nil
config LogStash::Codecs::AvroSchemaRegistry/@ca_certificate = nil
config LogStash::Codecs::AvroSchemaRegistry/@verify_mode = "verify_peer"
因此,avro_schema_注册表没有密钥、证书或CA信息。但它仍然可以联系HTTPS服务器

我在Windows Logstash安装上尝试了avro_schema_注册表,但由于无法验证SSL,因此失败

所以真正让我困惑的是:
avro_schema_注册表在何处或如何验证HTTPS?即使没有提供安全信息