- 论坛徽章:
- 0
|
有些理解了
在openldap.org看到这样一段
Just to avoid confusion and further questions let us be more precise:
When storing X.509 certificates via LDAP you have to transmit the raw DER encoding without(!) base64. With OpenLDAP you have to use binary transfer encoding (userCertificate;binary). Also note that the base64-encoded form with BEGIN/END CERTIFICATE lines does not work!
When specifying a binary blob in an LDIF file you have to use this form (see RFC2849):
userCertificate;binary:: <multiple lines of base64-encoded binary blob>
^^
Note the double colon!
Another option is to use URLs in LDIF:
userCertificate;binary:< file:///..../user.crt
When creating LDIF best bet is to use a LDIF module for your favourite programming language which does the job for you.
Ciao, Michael.
这里without(!) base64什么意思,
岂不是和<multiple lines of base64-encoded binary blob>冲突了
Also note that the base64-encoded form with BEGIN/END CERTIFICATE lines does not work!
这句也没看懂 |
|