defaults.go 938 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package printdefaults
  2. var defaults = map[string]string{
  3. "config": `{
  4. "signing": {
  5. "default": {
  6. "expiry": "168h"
  7. },
  8. "profiles": {
  9. "www": {
  10. "expiry": "8760h",
  11. "usages": [
  12. "signing",
  13. "key encipherment",
  14. "server auth"
  15. ]
  16. },
  17. "client": {
  18. "expiry": "8760h",
  19. "usages": [
  20. "signing",
  21. "key encipherment",
  22. "client auth"
  23. ]
  24. }
  25. }
  26. }
  27. }
  28. `,
  29. "csr": `{
  30. "CN": "example.net",
  31. "hosts": [
  32. "example.net",
  33. "www.example.net"
  34. ],
  35. "key": {
  36. "algo": "ecdsa",
  37. "size": 256
  38. },
  39. "names": [
  40. {
  41. "C": "US",
  42. "ST": "CA",
  43. "L": "San Francisco"
  44. }
  45. ]
  46. }
  47. `,
  48. }