Skip to content

how to configure doris-be to enable HTTPS #59723

@soft-killer

Description

@soft-killer

I deployed Doris 3.1.1 locally using Docker.

This is be.conf:

  • webserver_port = 8040
  • enable_https = true
  • ssl_certificate_path = ${DORIS_HOME}/conf/certificate.pem
  • ssl_private_key_path = ${DORIS_HOME}/conf/private_key.pem

I want to use Stream Load, then I ran the following command:
curl --location-trusted -k -u root: -H "Expect:100-continue" -H "column_separator:," -H "columns:user_id,name,age" -T D:\Temp\csv\streamload_example.csv -XPUT https://localhost:8040/api/testdb/test_streamload/_stream_load

but, I get it:
curl: (35) schannel: next InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308) - 给函数提供的标志无效

It seems that HTTPS is not enabled, so how should I configure it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions