ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: apache2-mod_ssl{,-compat}: Изменения настроек SSL.
Date: Tue, 15 Jan 2013 23:20:30 +0400
Message-ID: <50F5ABFE.9080508@solin.spb.ru> (raw)
In-Reply-To: <20130115184732.GA7963@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]

15.01.2013 22:47, Dmitry V. Levin пишет:
> On Tue, Jan 15, 2013 at 10:21:35PM +0400, Aleksey Avdeev wrote:
>> Приветствую.
>>
>>   Я планирую перевести дефолтные настройки apache2-mod_ssl{,-compat} на
>> использование общесистемного хранилища сертификатов /var/lib/ssl.
>> (Сейчас apache2-mod_ssl использует своё внутреннее хранилище,
>> /etc/httpd2/conf/ssl.*.)
>>
>>   Пока планирую сделать в
>> /etc/httpd2/conf/sites-available/default_https{-compat,}.conf такие
>> настройки (в значениях помеченных "????" я неуверен):
>>
>> #   Server Certificate:
>> #   Point SSLCertificateFile at a PEM encoded certificate.  If
>> #   the certificate is encrypted, then you will be prompted for a
>> #   pass phrase.  Note that a kill -HUP will prompt again.  Keep
>> #   in mind that if you have both an RSA and a DSA certificate you
>> #   can configure both in parallel (to also allow the use of DSA
>> #   ciphers, etc.)
>> SSLCertificateFile "/var/lib/ssl/certs/server.crt"
> 
> Здесь и далее: поскольку /var/lib/ssl/ это общесистемное хранилище, то
> имена файлов там должны быть сервис-специфичными, общеупотребительных
> вариантов вроде server.crt следует избегать.

  OK, Тогда такой вопрос: Стоит ли стремиться к тому, чтобы apache2 и
apache (httpd2 и httpd) пользовались общими файлами сертификатов/ключей?

  Если да, то допустимо ли обозвать такой сертификат (и соответствующий
ему ключ) по подсистеме? Например, использовать www.crt в качестве имени
ключа?

  Если нет, то логично использовать имена демонов: httpd2.crt (для
apache2) и httpd.crt (для apache).

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

  reply	other threads:[~2013-01-15 19:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 18:21 Aleksey Avdeev
2013-01-15 18:47 ` Dmitry V. Levin
2013-01-15 19:20   ` Aleksey Avdeev [this message]
2013-01-15 21:28     ` Dmitry V. Levin
2013-01-15 21:37       ` Aleksey Avdeev
2013-01-17 18:21         ` Michael Shigorin
2013-01-16  0:45     ` Alexei Takaseev
2013-01-26 10:12 ` Aleksey Avdeev
2013-02-05 10:37   ` Aleksey Avdeev

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=50F5ABFE.9080508@solin.spb.ru \
    --to=solo@solin.spb.ru \
    --cc=devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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