slurm-cert.cfg 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. # X.509 Certificate options
  2. #
  3. # DN options
  4. # The organization of the subject.
  5. organization = "Slurm"
  6. # The organizational unit of the subject.
  7. unit = "ldap"
  8. # The locality of the subject.
  9. # locality =
  10. # The state of the certificate owner.
  11. state = "Zurich"
  12. # The country of the subject. Two letter code.
  13. country = CH
  14. # The common name of the certificate owner.
  15. cn = "Tomi Cvetic"
  16. # A user id of the certificate owner.
  17. #uid = "tomi"
  18. # Set domain components
  19. dc = "slurm"
  20. dc = "ch"
  21. # If the supported DN OIDs are not adequate you can set
  22. # any OID here.
  23. # For example set the X.520 Title and the X.520 Pseudonym
  24. # by using OID and string pairs.
  25. #dn_oid = "2.5.4.12 Dr."
  26. #dn_oid = "2.5.4.65 jackal"
  27. # This is deprecated and should not be used in new
  28. # certificates.
  29. # pkcs9_email = "none@none.org"
  30. # An alternative way to set the certificate's distinguished name directly
  31. # is with the "dn" option. The attribute names allowed are:
  32. # C (country), street, O (organization), OU (unit), title, CN (common name),
  33. # L (locality), ST (state), placeOfBirth, gender, countryOfCitizenship,
  34. # countryOfResidence, serialNumber, telephoneNumber, surName, initials,
  35. # generationQualifier, givenName, pseudonym, dnQualifier, postalCode, name,
  36. # businessCategory, DC, UID, jurisdictionOfIncorporationLocalityName,
  37. # jurisdictionOfIncorporationStateOrProvinceName,
  38. # jurisdictionOfIncorporationCountryName, XmppAddr, and numeric OIDs.
  39. #dn = "cn = Nikos,st = New\, Something,C=GR,surName=Mavrogiannopoulos,2.5.4.9=Arkadias"
  40. # The serial number of the certificate
  41. # Comment the field for a time-based serial number.
  42. #serial = 007
  43. # In how many days, counting from today, this certificate will expire.
  44. # Use -1 if there is no expiration date.
  45. expiration_days = 365
  46. # Alternatively you may set concrete dates and time. The GNU date string
  47. # formats are accepted. See:
  48. # http://www.gnu.org/software/tar/manual/html_node/Date-input-formats.html
  49. #activation_date = "2004-02-29 16:21:42"
  50. #expiration_date = "2025-02-29 16:24:41"
  51. # X.509 v3 extensions
  52. # A dnsname in case of a WWW server.
  53. #dns_name = "www.none.org"
  54. #dns_name = "www.morethanone.org"
  55. # An othername defined by an OID and a hex encoded string
  56. #other_name = "1.3.6.1.5.2.2 302ca00d1b0b56414e5245494e2e4f5247a11b3019a006020400000002a10f300d1b047269636b1b0561646d696e"
  57. #other_name_utf8 = "1.2.4.5.6 A UTF8 string"
  58. #other_name_octet = "1.2.4.5.6 A string that will be encoded as ASN.1 octet string"
  59. # Allows writing an XmppAddr Identifier
  60. #xmpp_name = juliet@im.example.com
  61. # Names used in PKINIT
  62. #krb5_principal = user@REALM.COM
  63. #krb5_principal = HTTP/user@REALM.COM
  64. # A subject alternative name URI
  65. #uri = "http://www.example.com"
  66. # An IP address in case of a server.
  67. #ip_address = "192.168.1.1"
  68. # An email in case of a person
  69. email = "tomi@slurm.ch"
  70. # TLS feature (rfc7633) extension. That can is used to indicate mandatory TLS
  71. # extension features to be provided by the server. In practice this is used
  72. # to require the Status Request (extid: 5) extension from the server. That is,
  73. # to require the server holding this certificate to provide a stapled OCSP response.
  74. # You can have multiple lines for multiple TLS features.
  75. # To ask for OCSP status request use:
  76. #tls_feature = 5
  77. # Challenge password used in certificate requests
  78. #challenge_password = 123456
  79. # Password when encrypting a private key
  80. #password = secret
  81. # An URL that has CRLs (certificate revocation lists)
  82. # available. Needed in CA certificates.
  83. #crl_dist_points = "http://www.getcrl.crl/getcrl/"
  84. # Whether this is a CA certificate or not
  85. #ca
  86. # Subject Unique ID (in hex)
  87. #subject_unique_id = 00153224
  88. # Issuer Unique ID (in hex)
  89. #issuer_unique_id = 00153225
  90. #### Key usage
  91. # The following key usage flags are used by CAs and end certificates
  92. # Whether this certificate will be used to sign data (needed
  93. # in TLS DHE ciphersuites). This is the digitalSignature flag
  94. # in RFC5280 terminology.
  95. signing_key
  96. # Whether this certificate will be used to encrypt data (needed
  97. # in TLS RSA ciphersuites). Note that it is preferred to use different
  98. # keys for encryption and signing. This is the keyEncipherment flag
  99. # in RFC5280 terminology.
  100. encryption_key
  101. # Whether this key will be used to sign other certificates. The
  102. # keyCertSign flag in RFC5280 terminology.
  103. cert_signing_key
  104. # Whether this key will be used to sign CRLs. The
  105. # cRLSign flag in RFC5280 terminology.
  106. #crl_signing_key
  107. # The keyAgreement flag of RFC5280. It's purpose is loosely
  108. # defined. Not use it unless required by a protocol.
  109. #key_agreement
  110. # The dataEncipherment flag of RFC5280. It's purpose is loosely
  111. # defined. Not use it unless required by a protocol.
  112. #data_encipherment
  113. # The nonRepudiation flag of RFC5280. It's purpose is loosely
  114. # defined. Not use it unless required by a protocol.
  115. #non_repudiation
  116. #### Extended key usage (key purposes)
  117. # The following extensions are used in an end certificate
  118. # to clarify its purpose. Some CAs also use it to indicate
  119. # the types of certificates they are purposed to sign.
  120. # Whether this certificate will be used for a TLS client;
  121. # this sets the id-kp-serverAuth (1.3.6.1.5.5.7.3.1) of
  122. # extended key usage.
  123. #tls_www_client
  124. # Whether this certificate will be used for a TLS server;
  125. # This sets the id-kp-clientAuth (1.3.6.1.5.5.7.3.2) of
  126. # extended key usage.
  127. #tls_www_server
  128. # Whether this key will be used to sign code. This sets the
  129. # id-kp-codeSigning (1.3.6.1.5.5.7.3.3) of extended key usage
  130. # extension.
  131. #code_signing_key
  132. # Whether this key will be used to sign OCSP data. This sets the
  133. # id-kp-OCSPSigning (1.3.6.1.5.5.7.3.9) of extended key usage extension.
  134. #ocsp_signing_key
  135. # Whether this key will be used for time stamping. This sets the
  136. # id-kp-timeStamping (1.3.6.1.5.5.7.3.8) of extended key usage extension.
  137. #time_stamping_key
  138. # Whether this key will be used for email protection. This sets the
  139. # id-kp-emailProtection (1.3.6.1.5.5.7.3.4) of extended key usage extension.
  140. #email_protection_key
  141. # Whether this key will be used for IPsec IKE operations (1.3.6.1.5.5.7.3.17).
  142. #ipsec_ike_key
  143. ## adding custom key purpose OIDs
  144. # for microsoft smart card logon
  145. # key_purpose_oid = 1.3.6.1.4.1.311.20.2.2
  146. # for email protection
  147. # key_purpose_oid = 1.3.6.1.5.5.7.3.4
  148. # for any purpose (must not be used in intermediate CA certificates)
  149. # key_purpose_oid = 2.5.29.37.0
  150. ### end of key purpose OIDs
  151. ### Adding arbitrary extensions
  152. # This requires to provide the extension OIDs, as well as the extension data in
  153. # hex format. The following two options are available since GnuTLS 3.5.3.
  154. #add_extension = "1.2.3.4 0x0AAB01ACFE"
  155. # As above but encode the data as an octet string
  156. #add_extension = "1.2.3.4 octet_string(0x0AAB01ACFE)"
  157. # For portability critical extensions shouldn't be set to certificates.
  158. #add_critical_extension = "5.6.7.8 0x1AAB01ACFE"
  159. # When generating a certificate from a certificate
  160. # request, then honor the extensions stored in the request
  161. # and store them in the real certificate.
  162. #honor_crq_extensions
  163. # Alternatively only specific extensions can be copied.
  164. #honor_crq_ext = 2.5.29.17
  165. #honor_crq_ext = 2.5.29.15
  166. # Path length contraint. Sets the maximum number of
  167. # certificates that can be used to certify this certificate.
  168. # (i.e. the certificate chain length)
  169. #path_len = -1
  170. #path_len = 2
  171. # OCSP URI
  172. # ocsp_uri = http://my.ocsp.server/ocsp
  173. # CA issuers URI
  174. # ca_issuers_uri = http://my.ca.issuer
  175. # Certificate policies
  176. #policy1 = 1.3.6.1.4.1.5484.1.10.99.1.0
  177. #policy1_txt = "This is a long policy to summarize"
  178. #policy1_url = http://www.example.com/a-policy-to-read
  179. #policy2 = 1.3.6.1.4.1.5484.1.10.99.1.1
  180. #policy2_txt = "This is a short policy"
  181. #policy2_url = http://www.example.com/another-policy-to-read
  182. # The number of additional certificates that may appear in a
  183. # path before the anyPolicy is no longer acceptable.
  184. #inhibit_anypolicy_skip_certs 1
  185. # Name constraints
  186. # DNS
  187. #nc_permit_dns = example.com
  188. #nc_exclude_dns = test.example.com
  189. # EMAIL
  190. #nc_permit_email = "nmav@ex.net"
  191. # Exclude subdomains of example.com
  192. #nc_exclude_email = .example.com
  193. # Exclude all e-mail addresses of example.com
  194. #nc_exclude_email = example.com
  195. # IP
  196. #nc_permit_ip = 192.168.0.0/16
  197. #nc_exclude_ip = 192.168.5.0/24
  198. #nc_permit_ip = fc0a:eef2:e7e7:a56e::/64
  199. # Options for proxy certificates
  200. #proxy_policy_language = 1.3.6.1.5.5.7.21.1
  201. # Options for generating a CRL
  202. # The number of days the next CRL update will be due.
  203. # next CRL update will be in 43 days
  204. #crl_next_update = 43
  205. # this is the 5th CRL by this CA
  206. # Comment the field for a time-based number.
  207. #crl_number = 5
  208. # Specify the update dates more precisely.
  209. #crl_this_update_date = "2004-02-29 16:21:42"
  210. #crl_next_update_date = "2025-02-29 16:24:41"
  211. # The date that the certificates will be made seen as
  212. # being revoked.
  213. #crl_revocation_date = "2025-02-29 16:24:41"