Believe that you may need the "T" trust setting on the CA certificate too:
Specify the trust attributes to modify in an existing certificate
or to apply to a certificate when creating it or adding it to a
database. There are three available trust categories for each
certificate, expressed in the order SSL, email, object signing for
each trust setting. In each category position, use none, any, or
all of the attribute codes:
Â· p - Valid peer
Â· P - Trusted peer (implies p)
Â· c - Valid CA
Â· C - Trusted CA (implies c)
Â· T - trusted CA for client authentication (ssl server only)
LDAP Directory Services/Identity Management
From: Eli <elish266(a)gmail.com>
Sent: Tuesday, April 2, 2019 11:41 AM
Subject: [389-users] Peer's certificate issuer has been marked as not trusted by the
I am trying to setup a mutual based TLS authenticated 389-DS LDAP server, where the client
and the server will perform certificate based authentication.
This should be test system and not a production system.
I have a Windows CA signed on the LDAP server certificate and the client certificate
(.p12). The server has its the CA root and its own cert loaded:
[root@ldap2sit slapd-ldap2sit]# certutil -K -d .
certutil: Checking token "NSS Certificate DB" in slot "NSS User Private Key
and Certificate Services"
< 0> rsa 90f72656c6c26fad75fbc5787105197301d76bab Server-Cert
[root@ldap2sit slapd-ldap2sit]# certutil -L -d .
Certificate Nickname Trust Attributes
I have a client defined in the LDAP:
uid=a47886b9fffc , cn=a47886b9fffc , o=Avaya , l=Holon, mail=eshmulen(a)avaya.com
The certificate I have on the client is:
Issued to: a47886b9fffc
Issued by: sititcdc (which is the same CA signed the server certificate and its root in
loaded to the server)
Subject: e=eshmulen(a)avaya.com, cn=a47886b9fffc, ou=SIT, o=Avaya, L=Holon, S=Israel, C=IL
certmap ldap2sit o=Avaya,l=Holon
When trying connecting I get connection failure with with following entries in
[02/Apr/2019:20:33:11.096582067 +0300] conn=5 fd=64 slot=64 SSL connection from
18.104.22.168 to 22.214.171.124
[02/Apr/2019:20:33:11.139068683 +0300] conn=5 Netscape Portable Runtime error -8172
(Peer's certificate issuer has been marked as not trusted by the user.);
[02/Apr/2019:20:33:11.139131964 +0300] conn=5 op=-1 fd=64 closed - Peer's certificate
issuer has been marked as not trusted by the user.
In wireshark trace I see the server is closing the TCP/TLS connection with alert (Level:
Fatal, Description: Unknown CA)
Can you tell me what I am doing wrong here?
389-users mailing list -- 389-users(a)lists.fedoraproject.org To unsubscribe send an email
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
This communication is the property of CenturyLink and may contain confidential or
privileged information. Unauthorized use of this communication is strictly prohibited and
may be unlawful. If you have received this communication in error, please immediately
notify the sender by reply e-mail and destroy all copies of the communication and any