lib/billy/ssl/authority.rb
def extensions
      [
        # ln_sn, value, critical
        ['basicConstraints', 'CA:TRUE', true],
        ['keyUsage', 'keyCertSign, cRLSign', true],
        ['subjectKeyIdentifier', 'hash', false],
        ['authorityKeyIdentifier', 'keyid:always', false]
      ]
    end
# Defines a static list of available extensions on the certificate.
Defines a static list of available extensions on the certificate.
Defines a static list of available extensions on the certificate .
def extensions
      [
        ['basicConstraints', 'CA:TRUE', true],
        ['keyUsage', 'keyCertSign, cRLSign', true],
        ['subjectKeyIdentifier', 'hash', false],
        ['authorityKeyIdentifier', 'keyid:always', false]
      ]
    end
def extensions [ [ 'basicConstraints' , 'CA:TRUE' , true ] , [ 'keyUsage' , 'keyCertSign, cRLSign' , true ] , [ 'subjectKeyIdentifier' , 'hash' , false ] , [ 'authorityKeyIdentifier' , 'keyid:always' , false ] ] end
Defines a static list of available extensions on the certificate.
Defines a static list of available extensions on the certificate .
# ln_sn, value, critical