From: "Yuri N. Yaschenko" <yura@kr.spfu.gov.ua> To: community@altlinux.ru Subject: Re: [Comm] LDAP w TLS Date: Thu, 6 May 2004 14:21:24 +0300 Message-ID: <200405061421.24150.yura@kr.spfu.gov.ua> (raw) In-Reply-To: <157319034.20040506142958@post.ural.ru> Hello, Alexander! Так, демон поднялся (я так и не понял какого он не поднимался). Если gq настроить на TLS - ругается. > проверяем переименованием pem-файла в то имя сервиса, которое понимает > TLS и проверяем коннектом (openssl s_client....) на нужный порт таких нету, поэтому попробовал на slapd [root@ws811-2 ssl]# openssl s_client -host 127.0.0.1 -port 389 -cert slapd.pem -key slapd.pem CONNECTED(00000004) 16007:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:226: [root@ws811-2 ssl]# openssl s_client -host 192.168.35.1 -port 389 CONNECTED(00000004) 16047:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:226: > Во вторых - ждя генерации ключей есть два пути: один быстрый, но > идеологически неверный, второй немного длинее, но правильнее > Первый путь > cd /var/lib/ssl/certs > make slapd.pem (не забыв про пустой пароль) Вот так делал. Только пароль он не спросил. > Второй > Сделать локальную CA > Сгенерить CSR на нужный хост > Подписать request ключом от CA А этого не понял. Но попробовал в /var/lib/ssl/certs make server.key make server.csr make server.crt make slapd.pem Без пароля не дал... Грит 4 символа минимум. В /etc/openssl/openssl.cnf прописал параметры хоста. -- By, Yuri.
next prev parent reply other threads:[~2004-05-06 11:21 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-04-29 9:04 Yuri N. Yaschenko 2004-04-30 11:50 ` Alexander Leschinsky 2004-05-05 6:32 ` Yuri N. Yaschenko 2004-05-05 14:28 ` Alexander Leschinsky 2004-05-06 6:02 ` Yuri N. Yaschenko 2004-05-06 8:29 ` Alexander Leschinsky 2004-05-06 11:21 ` Yuri N. Yaschenko [this message] 2004-05-06 13:25 ` Alexander Leschinsky
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=200405061421.24150.yura@kr.spfu.gov.ua \ --to=yura@kr.spfu.gov.ua \ --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