with-acme.yml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # Helm template
  2. inject:
  3. enabled: true
  4. # Config contains the configuration files ca.json and defaults.json
  5. config:
  6. files:
  7. ca.json:
  8. root: /home/step/certs/root_ca.crt
  9. federateRoots: []
  10. crt: /home/step/certs/intermediate_ca.crt
  11. key: /home/step/secrets/intermediate_ca_key
  12. address: 127.0.0.1:9000
  13. dnsNames:
  14. - 127.0.0.1
  15. logger:
  16. format: json
  17. db:
  18. type: badgerv2
  19. dataSource: /home/step/db
  20. authority:
  21. enableAdmin: false
  22. provisioners:
  23. - {"type":"JWK","name":"step-cli","key":{"use":"sig","kty":"EC","kid":"zsUmysmDVoGJ71YoPHyZ-68tNihDaDaO5Mu7xX3M-_I","crv":"P-256","alg":"ES256","x":"Pqnua4CzqKz6ua41J3yeWZ1sRkGt0UlCkbHv8H2DGuY","y":"UhoZ_2ItDen9KQTcjay-ph-SBXH0mwqhHyvrrqIFDOI"},"encryptedKey":"eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjdHkiOiJqd2sranNvbiIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjEwMDAwMCwicDJzIjoiZjVvdGVRS2hvOXl4MmQtSGlMZi05QSJ9.eYA6tt3fNuUpoxKWDT7P0Lbn2juxhEbTxEnwEMbjlYLLQ3sxL-dYTA.ven-FhmdjlC9itH0.a2jRTarN9vPd6F_mWnNBlOn6KbfMjCApmci2t65XbAsLzYFzhI_79Ykm5ueMYTupWLTjBJctl-g51ZHmsSB55pStbpoyyLNAsUX2E1fTmHe-Ni8bRrspwLv15FoN1Xo1g0mpR-ufWIFxOsW-QIfnMmMIIkygVuHFXmg2tFpzTNNG5aS29K3dN2nyk0WJrdIq79hZSTqVkkBU25Yu3A46sgjcM86XcIJJ2XUEih_KWEa6T1YrkixGu96pebjVqbO0R6dbDckfPF7FqNnwPHVtb1ACFpEYoOJVIbUCMaARBpWsxYhjJZlEM__XA46l8snFQDkNY3CdN0p1_gF3ckA.JLmq9nmu1h9oUi1S8ZxYjA","options":{"x509":{},"ssh":{}}}
  24. - {"type":"ACME","name":"acme"}
  25. tls:
  26. cipherSuites:
  27. - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  28. - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  29. minVersion: 1.2
  30. maxVersion: 1.3
  31. renegotiation: false
  32. defaults.json:
  33. ca-url: https://127.0.0.1
  34. ca-config: /home/step/config/ca.json
  35. fingerprint: e543cad8e9f6417076bb5aed3471c588152118aac1e0ca7984a43ee7f76da5e3
  36. root: /home/step/certs/root_ca.crt
  37. # Certificates contains the root and intermediate certificate and
  38. # optionally the SSH host and user public keys
  39. certificates:
  40. # intermediate_ca contains the text of the intermediate CA Certificate
  41. intermediate_ca: |
  42. -----BEGIN CERTIFICATE-----
  43. dGhlc2UgYXJlIGp1c3Qgc29tZSBmYWtlIGludGVybWVkaWF0ZSBDQSBjZXJ0IGJ5
  44. dGVz
  45. -----END CERTIFICATE-----
  46. # root_ca contains the text of the root CA Certificate
  47. root_ca: |
  48. -----BEGIN CERTIFICATE-----
  49. dGhlc2UgYXJlIGp1c3Qgc29tZSBmYWtlIHJvb3QgQ0EgY2VydCBieXRlcw==
  50. -----END CERTIFICATE-----
  51. # Secrets contains the root and intermediate keys and optionally the SSH
  52. # private keys
  53. secrets:
  54. # ca_password contains the password used to encrypt x509.intermediate_ca_key, ssh.host_ca_key and ssh.user_ca_key
  55. # This value must be base64 encoded.
  56. ca_password:
  57. provisioner_password:
  58. x509:
  59. # intermediate_ca_key contains the contents of your encrypted intermediate CA key
  60. intermediate_ca_key: |
  61. -----BEGIN EC PRIVATE KEY-----
  62. dGhlc2UgYXJlIGp1c3Qgc29tZSBmYWtlIGludGVybWVkaWF0ZSBDQSBrZXkgYnl0
  63. ZXM=
  64. -----END EC PRIVATE KEY-----
  65. # root_ca_key contains the contents of your encrypted root CA key
  66. # Note that this value can be omitted without impacting the functionality of step-certificates
  67. # If supplied, this should be encrypted using a unique password that is not used for encrypting
  68. # the intermediate_ca_key, ssh.host_ca_key or ssh.user_ca_key.
  69. root_ca_key: |
  70. -----BEGIN EC PRIVATE KEY-----
  71. dGhlc2UgYXJlIGp1c3Qgc29tZSBmYWtlIHJvb3QgQ0Ega2V5IGJ5dGVz
  72. -----END EC PRIVATE KEY-----