elasticsearch 为什么Fscrawler拒绝信任证书,而我已经将ssl验证设置为“false”?

tvmytwxo  于 2022-11-02  发布在  ElasticSearch
关注(0)|答案(1)|浏览(197)

这是我的Yaml文件fscrawler:

name: "data_science"
fs:
  url: "C:\\tmp\\DS_books"
  update_rate: "15m"
  excludes:
  - "*/~*"
  json_support: false
  filename_as_id: false
  add_filesize: true
  remove_deleted: true
  add_as_inner_object: false
  store_source: false
  index_content: true
  attributes_support: false
  raw_metadata: false
  xml_support: false
  index_folders: true
  lang_detect: false
  continue_on_error: false
  ocr:
    language: "eng"
    enabled: true
    pdf_strategy: "ocr_and_text"
  follow_symlinks: false
elasticsearch:
  nodes:
  - url: "https://127.0.0.1:9200"
  username: "elastic"
  password: "8u4c0pEXmjYwq_Pd4zeX"
  bulk_size: 100
  flush_interval: "5s"
  byte_size: "10mb"
  ssl_verification: false

然而,当我尝试建立索引时,却收到以下消息:
“警告][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [桌面-0 MS 6 MUS] http客户端不信任此服务器的证书,正在关闭连接Netty 4 HttpChannel {本地地址=/127.0.0.1:9200,远程地址=/127.0.0.1:51966}”

sg3maiej

sg3maiej1#

已替换为最新的Elasticsearch 8.4.3,问题不再出现...

相关问题