ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Borovskoy <alexey_borovskoy@pochtamt.ru>
To: community@altlinux.ru
Subject: Re: [Comm] OpenLDAP и SSL
Date: Wed, 23 Apr 2003 15:06:00 +1300
Message-ID: <200304231506.00265.alexey_borovskoy@pochtamt.ru> (raw)
In-Reply-To: <20030423093042.5ef814e0.dima@sakhalin.ru>

* 23 Апрель 2003 11:30 Dmitry Lebkov <dima@sakhalin.ru>

> On Sat, 19 Apr 2003 14:53:48 +1300
>
> > cn прописываю как server.intranet. В DNS все нормально.
>
> Имя 'server.intranet' присутствует в ДНС? И в обратной зоне?
> cn в сертификате должно совпадать с DNS-именем, соответствущем
> ip-адресу, на котором слушает LDAP-сервер.

Да, присутствует.

>
> > 2. Получившийся сертификат кладу в /etc/openldap/
> >
> > 3. В /etc/openldap/slapd.conf раскоментирую строчки
> >  TLSCipherSuite         HIGH:MEDIUM:+SSLv2
> >  TLSCertificateFile      /etc/openldap/ldap.pem
> >  TLSCertificateKeyFile   /etc/openldap/ldap.pem
> >  TLSCACertificateFile    /etc/openldap/ldap.pem
> >
> > 4. Делаю service ldap start
> >
> > 5. Делаю netstat -tl
> > tcp        0      0 server.intranet:ldaps   *:*     LISTEN
> >
> > 6. Коннекчусь GQ, прописываю пароль rootdn и получаю ошибку
> > Can't contact LDAP server
>
> GQ использует TLS. Т.е. тебе в конфиге надо указать порт 389
> и поствить галку 'Enable TLS'.
>

Указал. коннекчусь. получаю
SSL23_GET_SERVERHELLO:ssl handshake failure

> У меня так (через TLS на 389 порту) работает 3 сервера (мастер
> и две реплики), GQ, nss_ldap и Courier-IMAP.
>
> Вот ... %)

Может дело в сертификате?

----
Алексей.



  reply	other threads:[~2003-04-23  2:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-19  1:53 Alexey Borovskoy
2003-04-19 10:37 ` Maxim Tyurin
2003-04-21  3:11   ` Alexey Borovskoy
2003-04-21 10:22 ` Igor Muratov
2003-04-22  6:14   ` Alexey Borovskoy
2003-04-22 10:43     ` Igor Muratov
2003-04-22 22:18       ` Alexey Borovskoy
2003-05-05 16:17         ` Igor Muratov
2003-04-22 22:30 ` Dmitry Lebkov
2003-04-23  2:06   ` Alexey Borovskoy [this message]
2003-04-23  2:17   ` Alexey Borovskoy
2003-04-23  2:33     ` Dmitry Lebkov
2003-04-23  3:28       ` Alexey Borovskoy

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=200304231506.00265.alexey_borovskoy@pochtamt.ru \
    --to=alexey_borovskoy@pochtamt.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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