ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: vserge <vserge@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] OpenLDAP плюс TLS. Глюк.
Date: Fri, 7 May 2004 14:29:36 +0400
Message-ID: <20040507142936.338a274f.vserge@altlinux.ru> (raw)
In-Reply-To: <200405070020.27446.alexey_borovskoy@mail.ru>

Добрый день

Алексей занеси ее пожалуйста в BTS

Вы написали Alexey Borovskoy <alexey_borovskoy@mail.ru> Fri, 7 May 2004
00:20:00 +1300:

> Добрый вечер.
> 
> Исходные данные:
> openldap-servers-2.1.26-alt3.1
> openldap-clients-2.1.26-alt3.1
> openldap-2.1.26-alt3.1
> openssl-0.9.6m-alt1
> 
> Не могу понять как запустить TLS. Создал CA, создал запрос на 
> сертификат сервера, подписал запрос. Получил: CA Cert, Server 
> Cert, Server Key.
> 
> openssl verify и openssl s_server + openssl s_client ничего 
> странного не замечают.
> 
> Делаю cat CA Cert  Server Cert  Server Key >slapd.pem, который 
> кладу вместо сгенеренного автоматически при установке пакета (с 
> ним тоже не работает). Здесь без разницы, можно и россыпью - все 
> равно не работает.
> 
> Раскомментирую TLSCipherSuite, TLSCertificateFile, 
> TLSCertificateKeyFile, TLSCACertificateFile
> 
> При запуске сервера получаю мину:
> # slapd -d 5 -h 'ldap://alb.home ldaps://alb.home'
> >>> dnNormalize: <cn=Subschema>
> <<< dnNormalize: <cn=subschema>
> 
> TRANSPORT:: ldap_pvt_tls_init_def_ctx: TLS private key mismatch.
> 
> TRANSPORT:: tls_report_error: TLS error:0B080074:x509 certificate 
> routines:X509_check_private_key:key values mismatch 
> x509_cmp.c:383
> 
> TRANSPORT:: tls_report_error: TLS error:140A80BE:SSL 
> routines:SSL_CTX_check_private_key:no private key assigned 
> ssl_lib.c:670
> 
> SLAPD:: main: tls init def ctx failed: -1
> 
> SLAPD:: main: slapd stopped.
> 
> Если вместо CA Cert подсунуть Server Cert (как прокатывало в 
> 2.0.x), то сервер запускается но клиентов не пускает и говорит 
> что не может проверить сертификат.
> 
> Что я делаю не так? Что нужно подкрутить чтобы эта конструкция 
> заработала?
> 


-- 
Господа, если встретите переводчика [k3b], пригласите его в kde-russian@ на
принудительную консультацию, пожалуйста.
		-- avp in sisyphus@



      reply	other threads:[~2004-05-07 10:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06 11:20 Alexey Borovskoy
2004-05-07 10:29 ` vserge [this message]

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=20040507142936.338a274f.vserge@altlinux.ru \
    --to=vserge@altlinux.ru \
    --cc=sisyphus@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