ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] SSH +ldap
@ 2005-04-18 11:25 Anton Gorlov aka stalker
  2005-04-18 15:08 ` Boldin Pavel
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Gorlov aka stalker @ 2005-04-18 11:25 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Здравствуйте, ALT.

Хм... сгенерил сертефикат с помощью openssl. Пописал его в настройках
лдапа
TLSCertificateFile /etc/openldap/ssl/slapd.pem
TLSCertificateKeyFile /etc/openldap/ssl/slapd.pem
TLSVerifyClient never

попытался его запустить и получил незапускаемость лдапа:

openssl
req -new -x509 -days 365 -nodes -config slapd.cnf -out slapd.pem
-keyout slapd.pem

slapd.cnf
[ req ]
default_bits = 1024
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no
[ req_dn ]
C=RU
ST=Russia
L=Linux
O=Linux LDAP
OU=LDAP SSL Key
CN=rcc.com.ru
emailAddress=gorlov@bla-bla.bla
[ cert_type ]
nsCertType = server

[root@ring openldap]# service slapd start
Checking slapd configuration                 [ DONE ]
Adjusting environment for slapd:             [ DONE ]
Starting slapd service:                      [FAILED]

В логах при этом ничего не нашёл.

-- 
С уважением,
 Anton                          mailto:pnz37@mail.ru



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] SSH +ldap
  2005-04-18 11:25 [sisyphus] SSH +ldap Anton Gorlov aka stalker
@ 2005-04-18 15:08 ` Boldin Pavel
  0 siblings, 0 replies; 2+ messages in thread
From: Boldin Pavel @ 2005-04-18 15:08 UTC (permalink / raw)
  To: Anton Gorlov aka stalker, ALT Linux Sisyphus discussion list

Anton Gorlov aka stalker пишет:
> Здравствуйте, ALT.
> 
> Хм... сгенерил сертефикат с помощью openssl. Пописал его в настройках
> лдапа
> TLSCertificateFile /etc/openldap/ssl/slapd.pem
> TLSCertificateKeyFile /etc/openldap/ssl/slapd.pem
> TLSVerifyClient never
> 
> попытался его запустить и получил незапускаемость лдапа:
> 
> openssl
> req -new -x509 -days 365 -nodes -config slapd.cnf -out slapd.pem
> -keyout slapd.pem
> 
> slapd.cnf
> [ req ]
> default_bits = 1024
> encrypt_key = yes
> distinguished_name = req_dn
> x509_extensions = cert_type
> prompt = no
> [ req_dn ]
> C=RU
> ST=Russia
> L=Linux
> O=Linux LDAP
> OU=LDAP SSL Key
> CN=rcc.com.ru
> emailAddress=gorlov@bla-bla.bla
> [ cert_type ]
> nsCertType = server
> 
> [root@ring openldap]# service slapd start
> Checking slapd configuration                 [ DONE ]
> Adjusting environment for slapd:             [ DONE ]
> Starting slapd service:                      [FAILED]
> 
> В логах при этом ничего не нашёл.
> 
> 

там куча глюков может быть:
1. Сертификат еще не правилен
2. Сертификат не подписан (?)
3. Сертификат не имеет правильное FQDN

в общем, ваш диагноз -
# slapd -d -1 -v

приаттачте как bz2

ОБЯЗАТЕЛЬНО!, интересно знать что же там случилось :)

-- 

Болдин Павел aka davinchi

     ldavinchi@inbox.ru or davinchi@zu.org.ru

     ZU - Zagovor Unixoidov. SSAU 303.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-18 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-18 11:25 [sisyphus] SSH +ldap Anton Gorlov aka stalker
2005-04-18 15:08 ` Boldin Pavel

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