Skip to content

TLS doc instructions with curl circumvent security by distributing private key #5363

@darkn3rd

Description

@darkn3rd

Documentation

The documentation under Using Curl with Client authentication instructs users to use the node.key for REQUIREANY or REQUIREANDVERIFY. This has two problems:

  • violates security as what should be a private key is not distributed and shared. This should never be demonstrated or recommended.
  • doesn't show how to support to use client key to authenticate client.

The purpose of using REQUIREANDVERIFY is to make sure the client is authenticated to interact with Dgraph, as opposed to any client using https with dgraph service.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/documentationDocumentation related issues.kind/bugSomething is broken.status/acceptedWe accept to investigate/work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions