Re: how to enable TLs encryption only ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



JOYDEEP wrote:

> is it possible to enable the TLs encryption in cyrus ? I don't need the
> certificate to authenticate the client. only the transportation will be
> encrypted.

Hi!

A look at /cyrus-imapd_source/doc/install-configure.html
shows:

SSL, TLS, and OpenSSL

[...]

Configuring Cyrus with OpenSSL

[...]

1. openssl req -new -x509 -nodes -out /var/imap/server.pem -keyout
/var/imap/server.pem -days 365
[...]

2. Make sure to make key file(s) readable by the Cyrus user. For
example: chown cyrus /var/imap/server.pem

3. Add the following to /etc/imapd.conf to tell the server where to find
the certificate and key file (used for ALL services):
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem
[...]

4. You can test STARTTLS by using imtest:
imtest -t "" foobar.andrew.cmu.edu

In your imapd.conf I think there must be a line like
imaps         cmd="imapd -s" listen="imaps" prefork=0


More details in your_source-tree/doc/

Ciao!

Carsten.
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux