ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Pavel Usischev <usischev@gmail.com>
To: community@altlinux.ru
Subject: Re: [Comm] SSL cert for multidomain pop3 server
Date: Sat, 26 Feb 2005 23:45:58 +0300
Message-ID: <4220E006.4070303@gmail.com> (raw)
In-Reply-To: <4220A9A6.9030603@yauza.ru>

Pavel S. Khmelinsky пишет:
> Задачка по SSL: есть почтовый сервер на нем крутятся два почтовых домена 
> @yauza.ru и @rostokino.net , пользователям разных доменов в качестве 
> pop3 выданы разные DNS имена: pop.yauza.ru и pop.rostokino.net соотв. .
> Вопрос если оба домена обслуживаются одним демоном на какой домен 
> выдавать SSL сертификат?
> Если выдать на pop.yauza.ru то у пользователей pop.rostokino.net 
> почтовый клиент будет верещать что сертифика не соотв. доменому имени 
> and vice versa.

Я взял за основу файл /etc/courier-imap/imapd.cnf и сделал из него такой:

#RANDFILE можно оставить как было

[ req ]
default_bits = 1024
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = my_options
prompt = no

[ req_dn ]
C=RU
L=Moscow
O=My Company Name
OU=Internet Mail Service
CN=mail.primary-domain.ru

[ my_options ]
nsCertType = server
subjectAltName=@our_dns_names

[ our_dns_names ]
DNS.1=mail.secondary-domain.ru
DNS.2=mail.another-secondary-domain.ru
DNS.3=mail.yet-another-secondary-domain.ru

Затем сгенерировал по нему сертификат с четырьмя доменными именами 
почтового сервера.

-- 
С уважением,
Павел Усищев


  reply	other threads:[~2005-02-26 20:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-26 16:53 Pavel S. Khmelinsky
2005-02-26 20:45 ` Pavel Usischev [this message]
2005-02-27 12:14   ` Pavel S. Khmelinsky
2005-02-27 13:03   ` Pavel S. Khmelinsky

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=4220E006.4070303@gmail.com \
    --to=usischev@gmail.com \
    --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