Hi list, i'm have trouble with setup openldap ssl in my ubuntu server 11.04 2.6.38-8-server
I'm can setup ldap without ssl perfectly with samba PDC at different server(ldap server and samba server in another machine). I'm using guide from https://help.ubuntu.com/11.04/serverguide/C/openldap-server.html for setup ldaps but it is failed.
And if i'm searching records into ldap server, like that :
root@sunko02:/etc/ssl# ldapsearch -xLLL -d1 -b "dc=sunko,dc=local" -H ldaps://localhost ou=ktm
Oc2WXFRkANeiW/SrARXCIuSBsdGkqYm7xbJe
-----END CERTIFICATE-----
---
Server certificate
subject=/O=sunko.local/CN=sunko02.sunko.local
issuer=/CN=sunko.local
---
No client certificate CA names sent
---
SSL handshake has read 1756 bytes and written 421 bytes
---
New, TLSv1/SSLv3, Cipher is AES256-SHA
Server public key is 2048 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
It is can handshake but peer's certificate not trusted, it is seem like a "bug" or i must using certificate from ssl certificate company?...
Any idea?
Best Regards,
Aldyth M
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
06-17-2011, 01:10 PM
Ante Karamatić
Help about openldap ssl
U Pet, 17. 06. 2011., u 19:54 +0700, Aldyth Maharsha je napisao/la:
> It is can handshake but peer's certificate not trusted, it is seem
> like a "bug" or i must using certificate from ssl certificate
> company?...
You client doesn't trust you. Your client should either be aware of the
certificate you have (by having CA certifikate in /etc/ssl/certs) or you
could just make it ignore the certificate problems all together.
Open /etc/ldap/ldap.conf and add:
TLS_REQCERT allow
Read ldap.conf(5) for more info.
--
Ante Karamatic
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
06-20-2011, 03:00 AM
Aldyth Maharsha
Help about openldap ssl
I must add TLS_REQCERT allow at ldap server or ldap client?
best regards,
Aldyth M
2011/6/17 Ante Karamatić <ante.karamatic@canonical.com>
U Pet, 17. 06. 2011., u 19:54 +0700, Aldyth Maharsha je napisao/la:
> It is can handshake but peer's certificate not trusted, it is seem
> like a "bug" or i must using certificate from ssl certificate
> company?...
You client doesn't trust you. Your client should either be aware of the
certificate you have (by having CA certifikate in /etc/ssl/certs) or you
could just make it ignore the certificate problems all together.
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
06-20-2011, 03:05 AM
Aldyth Maharsha
Help about openldap ssl
If i'm ignore certificate, it is mean i don't using certificate in ldap system?, how to using certificates because security reason?..
Best Regards,
Aldyth M
2011/6/20 Aldyth Maharsha <demhyt@gmail.com>
I must add TLS_REQCERT allow at ldap server or ldap client?
best regards,
Aldyth M
2011/6/17 Ante Karamatić <ante.karamatic@canonical.com>
U Pet, 17. 06. 2011., u 19:54 +0700, Aldyth Maharsha je napisao/la:
> It is can handshake but peer's certificate not trusted, it is seem
> like a "bug" or i must using certificate from ssl certificate
> company?...
You client doesn't trust you. Your client should either be aware of the
certificate you have (by having CA certifikate in /etc/ssl/certs) or you
could just make it ignore the certificate problems all together.
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam