на главную | войти | регистрация | DMCA | контакты | справка | donate |      

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
А Б В Г Д Е Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Э Ю Я


моя полка | жанры | рекомендуем | рейтинг книг | рейтинг авторов | впечатления | новое | форум | сборники | читалки | авторам | добавить



7.7.1.1. Creating your own certificate

First, edit the file /etc/pki/dovecot/dovecot-openssl.cnf and find the CN= and emailAddress= lines:

[ req ]

default_bits = 1024

encrypt_key = yes

distinguished_name = req_dn

x509_extensions = cert_type

prompt = no


[ req_dn ]

# country (2 letter code)

#C=FI


# State or Province Name (full name)

#ST=


# Locality Name (eg. city)

#L=Helsinki


# Organization (eg. company)

#O=Dovecot


# Organizational Unit Name (eg. section)

OU=IMAP server


# Common Name (*.example.com is also possible)

CN=imap.example.com


# E-mail contact

[email protected]


[ cert_type ]

nsCertType = server


Edit these two lines to contain the hostname of the system and the mail administrator's email address:

# Common Name (*.example.com is also possible)

CN= bluesky.fedorabook.com


# E-mail contact

emailAddress= [email protected]


Then generate the certificates:

# SSLDIR=/etc/pki/dovecot /usr/share/doc/dovecot-1.0/examples/mkcert.sh


7.7.1. How Do I Do That? | Fedora Linux | 7.7.1.2. Disabling Encryption