PageSourceSearch

https://docs.dgraph.io/assets/js/57e5d089.d039dc6a.js

js dgraph.io collected 2026-10-02 03:24:42 UTC 2,904 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkdocusaurus_docs=globalThis.webpackChunkdocusaurus_docs||[]).push([[10392],{574:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"cli/cert","title":"dgraph cert","description":"The dgraph cert command manages TLS certificates for securing Dgraph cluster communication and client connections.","source":"@site/docs_versioned_docs/version-v25.4/cli/cert.md","sourceDirName":"cli","slug":"/cli/cert","permalink":"/cli/cert","draft":false,"unlisted":false,"editUrl":"https://github.com/dgraph-io/dgraph-docs/edit/main/docusaurus-docs/docs/cli/cert.md","tags":[],"version":"v25.4","frontMatter":{"title":"dgraph cert"},"sidebar":"docsSidebar","previous":{"title":"dgraph bulk","permalink":"/cli/bulk"},"next":{"title":"dgraph completion","permalink":"/cli/completion"}}');var c=n(74848),a=n(28453);const i={title:"dgraph cert"},o=void 0,s={},d=[];function l(e){const t={code:"code",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(t.p,{children:["The ",(0,c.jsx)(t.code,{children:"dgraph cert"})," command manages TLS certificates for securing Dgraph cluster communication and client connections."]}),"\n",(0,c.jsx)(t.pre,{children:(0,c.jsx)(t.code,{className:"language-shell",children:'Dgraph TLS certificate management\nUsage:\n dgraph cert [flags]\n dgraph cert [command]\n\nAvailable Commands:\n ls          lists certificates and keys\n\nFlags:\n -k, --ca-key string           path to the CA private key (default "ca.key")\n -c, --client string           create cert/key pair for a client name\n -d, --dir string              directory containing TLS certs and keys (default "tls")\n     --duration int            duration of cert validity in days (default 365)\n -e, --elliptic-curve string   ECDSA curve for private key. Values are: "P224", "P256", "P384", "P521".\n     --force                   overwrite any existing key and cert\n -h, --help                    help for cert\n -r, --keysize int             RSA key bit size for creating new keys (default 2048)\n -n, --nodes strings           creates cert/key pair for nodes\n     --verify                  verify certs against root CA when creating (default true)\n\nUse "dgraph cert [command] --help" for more information about a command.\n'})})]})}function u(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(l,{...e})}):l(e)}},28453:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>o});var r=n(96540);const c={},a=r.createContext(c);function i(e){const t=r.useContext(a);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:i(e.components),r.createElement(a.Provider,{value:t},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.