Sha256: c47332e9d021a1b4c1a5777947e1674fb1477b1863aa39493f0fce618738c005

Contents?: true

Size: 1.7 KB

Versions: 3

Compression:

Stored size: 1.7 KB

Contents

test_ca: {
  ca_cert: {
    cert: 'test_ca.cer',
    key: 'test_ca.key'
  },
  crl_list: "crl_list_file.txt",
  crl_number: "crl_number_file.txt",
  crl_validity_hours: 72,
  ocsp_validity_hours: 96,
  ocsp_start_skew_seconds: 1800,
  message_digest: 'SHA1', #SHA1, SHA224, SHA256, SHA384, SHA512 supported. MD5 too, but you really shouldn't use that unless you have a good reason
  profiles: {
    server: {
      basic_constraints: { "ca" : false },
      key_usage: [digitalSignature,keyEncipherment],
      extended_key_usage: [serverAuth],
    },
    ocsp_delegate_with_no_check: {
      ocsp_no_check: true
    },
    inhibit_policy: {
      inhibit_any_policy: 2
    },
    policy_constraints: {
      policy_constraints: { require_explicit_policy: 1, inhibit_policy_mapping: 0 }
    },
    name_constraints: {
      name_constraints: {
        permitted: [
          {type: "IP", value: "192.168.0.0/255.255.0.0"},
          {type: "dirName", value: [['CN','myCN'],['O','Org']]}
        ],
        excluded: [
          {type: "email", value: "domain.com"},
          {type: "URI", value: ".net"},
          {type: "DNS", value: "test.us"}
        ]
      }
    },
    client: {
      basic_constraints: { "ca" : false },
      key_usage: [digitalSignature,keyEncipherment],
      extended_key_usage: [clientAuth],
      ocsp_no_check: false
    },
    server_with_subject_item_policy: {
      basic_constraints: { "ca" : false },
      key_usage: [digitalSignature,keyEncipherment],
      extended_key_usage: [serverAuth],
      subject_item_policy: {
        "CN" : "required",
        "O" : "optional",
        "ST" : "required",
        "C" : "required",
        "OU" : "optional" }
    }
  }
}
config_is_string: "this is bogus"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
r509-0.9.2 spec/fixtures/config_test.yaml
r509-0.9.1 spec/fixtures/config_test.yaml
r509-0.9 spec/fixtures/config_test.yaml