ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: sisyphus@altlinux.ru
Cc: vserge@altlinux.ru
Subject: [sisyphus] Re: OpenLDAP
Date: Fri, 15 Aug 2003 17:35:48 +0400
Message-ID: <20030815173548.7c588f77.vsu@altlinux.ru> (raw)
In-Reply-To: <20030719142742.GD23702@mrkooll.tdr.pibhe.com>

On Sat, 19 Jul 2003 17:27:42 +0300
Maxim Tyurin <mrkooll@tdr.pibhe.com> wrote:

> Нет. TLS и SSL так и не работает. Я сделал откат т.к. LDAP сервер
> менять нет времени и желания, а с нерабочей авторизацией работать
> проблематично. Сейчас поставил из Сизифа и сразу умерла авторизация
> (точнее не работает через SSL и TLS) 
> additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
> 
> >
> > Так как я сейчас добавляю автоматическую генерацию сертификата и расположен он
> > будет 
> > /var/lib/ssl/certs
> 
> Там же серверные лежат? На сервере я ничего не менял и он работает. 
> На клиенте tls_cacertfile и tls_cacertdir прописаны правильно.
> 
> mrkooll:~> ldapsearch -ZZ -LL -H ldap://linds.tdr.pibhe.com -b "dc=pibhe,dc=com" -W -x -D "cn=admin,dc=pibhe,dc=com" "(uid=testuser)"  
> ldap_start_tls: Connect error (91)                                                                                                               additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Так, эту стадию я прошёл и понял, почему не работает. Отваливается
действительно из-за TLS_CACERT и TLS_REQCERT (с -d 10 оно показало
"TLS certificate verification: Error, self signed certificate in
certificate chain"). Но эти параметры, прописанные в
/etc/openldap/ldap.conf, не действуют, поскольку этот файл на самом
деле ищется в /etc/ldap.conf. После ln -s openldap/ldap.conf
/etc/ldap.conf TLS заработал.

Т.е. путь поиска ldap.conf надо править.


  reply	other threads:[~2003-08-15 13:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-02 18:02 [sisyphus] OpenLDAP Peter V. Saveliev
2003-07-02 20:02 ` Volkov Serge
2003-07-02 21:38   ` Peter V. Saveliev
2003-07-08 11:11       ` Aleksey Avdeev
2003-07-02 22:06   ` Dmitry Lebkov
2003-07-03  9:09 ` Maxim Tyurin
2003-07-08 11:14         ` Maxim Tyurin
2003-07-19 11:44           ` vserge
2003-07-19 14:27             ` Maxim Tyurin
2003-08-15 13:35               ` Sergey Vlasov [this message]
2003-07-03 20:27 ` Volkov Serge
2003-07-04  3:33   ` Mike Lykov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030815173548.7c588f77.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    --cc=vserge@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git