Discussion:
[turba] Turba ldap address book with S/MIME Public Certificate
Philipp Faeustlin
2016-11-17 15:59:34 UTC
Permalink
Hi List,

I added an ldap address book via backends.local.php to turba.

The ldap connction works fine. I have the following map setting:
---
'map' => array(
'__key' => 'dn',
'name' => 'cn',
'email' => 'mail',
'smimePublicKey' => 'userCertificate;binary'
),
---
My problem is the mapping for the "smimePublicKey" doesn't work properly.
Instead of the certificate there is only the following error displayed:

"Error parsing S/MIME certficate: error:0906D06C:PEM
routines:PEM_read_bio:no start line"

Can someone help me to solve this error?
I have enabled the horde debug log, but there are no informations
logged, what data horde gets from ldap and how it does the mapping.

Searching the error, I found that it could some format error between the
certificate in DER and PEM format.

What format does horde expect for that value?

How can I change the format in horde?

Regards

Philipp

PS.: The ldap address book works fine within Thunderbird.
--
Philipp Fäustlin
--
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: turba-***@lists.horde.org
Jan Schneider
2016-11-18 10:17:48 UTC
Permalink
Post by Philipp Faeustlin
Hi List,
I added an ldap address book via backends.local.php to turba.
---
'map' => array(
'__key' => 'dn',
'name' => 'cn',
'email' => 'mail',
'smimePublicKey' => 'userCertificate;binary'
),
---
My problem is the mapping for the "smimePublicKey" doesn't work properly.
"Error parsing S/MIME certficate: error:0906D06C:PEM
routines:PEM_read_bio:no start line"
Can someone help me to solve this error?
I have enabled the horde debug log, but there are no informations
logged, what data horde gets from ldap and how it does the mapping.
Searching the error, I found that it could some format error between
the certificate in DER and PEM format.
What format does horde expect for that value?
PEM
Post by Philipp Faeustlin
How can I change the format in horde?
Using an attribute_decode() hook in config/hooks.php.
Post by Philipp Faeustlin
Regards
Philipp
PS.: The ldap address book works fine within Thunderbird.
--
Philipp Fäustlin
--
Jan Schneider
The Horde Project
http://www.horde.org/
--
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: turba-
Loading...