From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] I: apache2-mod_ssl{,-compat}: Изменения настроек SSL. Date: Wed, 16 Jan 2013 01:28:42 +0400 Message-ID: <20130115212842.GC7963@altlinux.org> (raw) In-Reply-To: <50F5ABFE.9080508@solin.spb.ru> [-- Attachment #1: Type: text/plain, Size: 1786 bytes --] On Tue, Jan 15, 2013 at 11:20:30PM +0400, Aleksey Avdeev wrote: > 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) пользовались общими файлами сертификатов/ключей? Если бы httpd и httpd2 было бы невозможно установить в систему одновременно, то можно было бы использовать для них общее имя. Но лучше не рисковать и просто дать каждому свое имя. > Если нет, то логично использовать имена демонов: httpd2.crt (для > apache2) и httpd.crt (для apache). Например, так. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-01-15 21:28 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 2013-01-15 21:28 ` Dmitry V. Levin [this message] 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=20130115212842.GC7963@altlinux.org \ --to=ldv@altlinux.org \ --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