91 lines
5.2 KiB
Plaintext
91 lines
5.2 KiB
Plaintext
# Linux Manager's PKI schema: CAs, the certificates they issued and the server's host certificates,
|
|
# with their keys. It needs only the core schema. A slapd without Linux Manager loads it with:
|
|
#
|
|
# ldapadd -Y EXTERNAL -H ldapi:/// -f linux-manager-pki.ldif
|
|
#
|
|
# OIDs: the LDAP arc 1.3.6.1.4.1.67380.10.1.2 of OID-REGISTRY.txt, attribute types under .1 and
|
|
# object classes under .2.
|
|
|
|
dn: cn=linux-manager-pki,cn=schema,cn=config
|
|
objectClass: olcSchemaConfig
|
|
cn: linux-manager-pki
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.2 NAME
|
|
'linuxManagerPrivateKey' DESC 'Linux Manager: a private key, PEM' EQUALITY
|
|
octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.3 NAME
|
|
'linuxManagerCertificateRequest' DESC 'Linux Manager: the CSR of a CA, PEM'
|
|
EQUALITY octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE
|
|
)
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.4 NAME 'linuxManagerCRLNumber'
|
|
DESC 'Linux Manager: the number of the last CRL of a CA' EQUALITY
|
|
integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.5 NAME 'linuxManagerCRLSource'
|
|
DESC 'Linux Manager: signed or uploaded, where the CRL of a CA came from'
|
|
EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256}
|
|
SINGLE-VALUE )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.6 NAME 'linuxManagerRetired'
|
|
DESC 'Linux Manager: when a CA was retired' EQUALITY generalizedTimeMatch
|
|
ORDERING generalizedTimeOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
|
|
SINGLE-VALUE )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.7 NAME 'linuxManagerKind' DESC
|
|
'Linux Manager: ca, router, user or external, the kind of a certificate'
|
|
EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256}
|
|
SINGLE-VALUE )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.8 NAME 'linuxManagerTemplate'
|
|
DESC 'Linux Manager: the template of a certificate' EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.9 NAME
|
|
'linuxManagerSubjectAltName' DESC 'Linux Manager: a subject alternative name
|
|
of a certificate' EQUALITY caseIgnoreMatch SYNTAX
|
|
1.3.6.1.4.1.1466.115.121.1.15{256} )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.10 NAME 'linuxManagerNotAfter'
|
|
DESC 'Linux Manager: when a certificate expires' EQUALITY
|
|
generalizedTimeMatch ORDERING generalizedTimeOrderingMatch SYNTAX
|
|
1.3.6.1.4.1.1466.115.121.1.24 SINGLE-VALUE )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.11 NAME 'linuxManagerRevoked'
|
|
DESC 'Linux Manager: when a certificate was revoked' EQUALITY
|
|
generalizedTimeMatch ORDERING generalizedTimeOrderingMatch SYNTAX
|
|
1.3.6.1.4.1.1466.115.121.1.24 SINGLE-VALUE )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.12 NAME
|
|
'linuxManagerRevocationReason' DESC 'Linux Manager: why a certificate was
|
|
revoked' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256}
|
|
SINGLE-VALUE )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.24 NAME 'linuxManagerToken'
|
|
DESC 'Linux Manager: the Simple CA token that signs the issuing CAs'
|
|
EQUALITY octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE
|
|
)
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.25 NAME
|
|
'linuxManagerUpstreamName' DESC 'Linux Manager: the Simple CA issuing CA of
|
|
the token' EQUALITY caseIgnoreMatch SYNTAX
|
|
1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.26 NAME
|
|
'linuxManagerCertificateChain' DESC 'Linux Manager: a certificate and its
|
|
chain, PEM' EQUALITY octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
|
|
SINGLE-VALUE )
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.27 NAME
|
|
'linuxManagerRequestKey' DESC 'Linux Manager: the private key of a CSR, PEM'
|
|
EQUALITY octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE
|
|
)
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.67380.10.1.2.1.28 NAME
|
|
'linuxManagerCertificateName' DESC 'Linux Manager: the name a certificate is
|
|
filed under by the application that keeps it' EQUALITY caseExactMatch SYNTAX
|
|
1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE )
|
|
olcObjectClasses: ( 1.3.6.1.4.1.67380.10.1.2.2.2 NAME 'linuxManagerAuthority'
|
|
DESC 'Linux Manager: a CA of the PKI' SUP top STRUCTURAL MUST cn MAY (
|
|
cACertificate $ certificateRevocationList $ linuxManagerPrivateKey $
|
|
linuxManagerCertificateRequest $ linuxManagerCRLNumber $
|
|
linuxManagerCRLSource $ linuxManagerRetired $ linuxManagerToken $
|
|
linuxManagerUpstreamName ) )
|
|
olcObjectClasses: ( 1.3.6.1.4.1.67380.10.1.2.2.3 NAME
|
|
'linuxManagerCertificate' DESC 'Linux Manager: a certificate a CA of the PKI
|
|
issued' SUP top STRUCTURAL MUST serialNumber MAY ( cn $ userCertificate $
|
|
linuxManagerPrivateKey $ linuxManagerKind $ linuxManagerTemplate $
|
|
linuxManagerSubjectAltName $ linuxManagerNotAfter $ linuxManagerRevoked $
|
|
linuxManagerRevocationReason $ linuxManagerCertificateName ) )
|
|
olcObjectClasses: ( 1.3.6.1.4.1.67380.10.1.2.2.5 NAME
|
|
'linuxManagerHostCertificate' DESC 'Linux Manager: a certificate of the
|
|
server kept with its key' SUP top STRUCTURAL MUST cn MAY (
|
|
linuxManagerCertificateChain $ linuxManagerPrivateKey $
|
|
linuxManagerCertificateRequest $ linuxManagerRequestKey $ linuxManagerKind )
|
|
)
|