Dovecot: How To Enable Secure (SSL) IMAP & POP3 With (Free) Self-Signed Certificate Dovecot: come abilitare sicura (SSL), IMAP e POP3 con (Free) certificato self-signed
First you should learn how to In primo luogo si dovrebbe imparare a create a self-signed certificate using OpenSSL creare un certificato autofirmato utilizzando OpenSSL (free). (gratuito). After that it is a simple matter of copying the files to appropriate location and enabling dovecot to use SSL authentication. Dopo di che si tratta di una semplice questione di copiare i file in posizione appropriata colombaia e consentire di utilizzare l'autenticazione SSL. Let’s look at the details. Vediamo i dettagli.
First you need to find the location to place the certificate and key file. Per prima cosa è necessario per trovare la sede a posto, il certificato e la chiave di file. Open dovecot.conf file (Location: /etc/dovecot.conf) and search for pem. Dovecot.conf aprire il file (Location: / etc / dovecot.conf) e cercare pem. You will find two lines like: Potrai trovare due righe come:
#ssl_cert_file = /etc/pki/dovecot/certs/dovecot.pem # ssl_cert_file = / etc / PKI / dovecot / certificati / dovecot.pem
#ssl_key_file = /etc/pki/dovecot/private/dovecot.pem # ssl_key_file = / etc / PKI / dovecot / private / dovecot.pem
These indicate the default location of the key and certificate file. Questi indicano la posizione di default di chiave e il certificato di file.
Note: You are likely to find that there is already a certificate installed if you have used a software like yum or apt to install dovecot. Nota: è probabile che vi è già installato un certificato se si è utilizzato un software come yum o apt per installare colombaia. However you will most likely find that the certificate was installed with an incorrect common name which may cause your email client (like Thunderbird) to prompt for permission everytime you check mails. Tuttavia è molto probabile che il certificato è stato installato con una non corretta denominazione comune che può causare il vostro client di posta elettronica (come Thunderbird) per richiedere l'autorizzazione ogni volta che controlla la posta.
Assume you have created the self-signed certificate named ca.crt and your key is named ca.key. Si supponga di aver creato il certificato autofirmato ca.crt nome e la propria chiave è chiamato ca.key.
Now replace (after saving a backup) the existing, if available, ssl certificate file, in my case /etc/pki/dovecot/certs/dovecot.pem, with ca.crt (after renaming obviously). Sostituire ora (dopo aver salvato una copia di backup) esistenti, se disponibili, certificato SSL file, nel mio caso / etc / PKI / dovecot / certificati / dovecot.pem, con ca.crt (dopo la ridenominazione ovviamente). Similarly replace the existing, if available, key file (in my case /etc/pki/dovecot/private/dovecot.pem) with ca.key (after renaming). Allo stesso modo sostituire l'esistente, se disponibile, chiave di file (nel mio caso / etc / PKI / dovecot / private / dovecot.pem) con ca.key (dopo la ridenominazione).
Now open dovecot.conf and search for protocols. Dovecot.conf ora aperto e la ricerca di protocolli. Ensure that the line is as follows: Garantire che la linea è la seguente:
protocols = imaps pop3s protocolli = pop3s imaps
Note: This disables regular pop3 & imap server. Nota: Questo disabilita regolare pop3 e server IMAP. Add them too if you must. Aggiungere anche loro se è necessario.
Ensure that the ssl_cert_file and ssl_key_file parameters are pointing to the right file as explained above. Garantire che la ssl_cert_file e ssl_key_file sono parametri che punta a destra di file come spiegato sopra.
Now restart the dovecot server which in my case is simply: Ora colombaia riavviare il server che nel mio caso è semplice:
/sbin/service dovecot restart / sbin / service colombaia riavviare
You should now be able to use secure POP3 & IMAP with dovecot. Si dovrebbe ora essere in grado di garantire l'uso POP3 e IMAP con colombaia.
Filed under Elencato sotto Fedora 7 Fedora Core 7 , Fedora Core 6 Fedora Core 6 , Headline News Headline News , How To Come , Linux , Linux Migration Linux , Open Source Software Software open source , Tech Note Nota tech , Web , Web Hosting Web Hosting , Web Services Servizi Web | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | questo articolo |
Email this Article Invia questo articolo
You may also like to read Si può anche leggere come |




