Skip to content

How do I connect to a milvus server ignoring ssl? #35955

Discussion options

You must be logged in to vote

To enable SSL for milvus:

  1. generate some certificate files by following the steps in this document: https://milvus.io/docs/tls.md
  2. config the milvus server
    If the milvus is deployed by helm, read this doc to know how to configure it: https://milvus.io/docs/configure-helm.md?tab=component
    Basically, configurations are defined in the value.yaml and passed to the milvus.yaml for milvus:
extraConfigFiles:
  user.yaml: |+
    tls:
      serverPemPath: /milvus/tls/server.pem
      serverKeyPath: /milvus/tls/server.key
      caPemPath: /milvus/tls/ca.pem
    
    common:
      security:
        tlsMode: 2

Set tlsMode to 1 for one-way authentication. Set tlsMode to 2 for two-way authentication.

T…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@xiaofan-luan
Comment options

Answer selected by xiaofan-luan
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants