First you should learn how to 첫 번째해야합니다 방법에 대해 알아보십시오 create a self-signed certificate using OpenSSL openssl를 사용하여 자기 - 서명된 인증서 만들기 (free). (무료). After that it is a simple matter of copying the files to appropriate location and enabling dovecot to use SSL authentication. 그 후 그것은 간단한 문제가 적절한 위치에 파일을 복사하는 비둘기 다락를 사용하도록하고 활성화 인증을합니다. Let’s look at the details. 세부 정보를 살펴 봅시다.

First you need to find the location to place the certificate and key file. 우선 당신의 위치를 찾을 필요 인증서와 키 파일을 배치합니다. Open dovecot.conf file (Location: /etc/dovecot.conf) and search for pem. dovecot.conf 파일을 엽니다 (위치 : / 비고 / dovecot.conf)와 검색 뛰어나합니다. You will find two lines like: 당신처럼 두 줄을 발견할 것이다 :

#ssl_cert_file = /etc/pki/dovecot/certs/dovecot.pem # ssl_cert_file = / 비고 / 인증 체계 / 비둘기 다락 / 쿠폰 / dovecot.pem
#ssl_key_file = /etc/pki/dovecot/private/dovecot.pem # ssl_key_file = / 비고 / 인증 체계 / 비둘기 다락 / 개인 / dovecot.pem

These indicate the default location of the key and certificate 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. 참고 : 사용자를 찾을 가능성이있다는 인증서가 설치는 이미 같은 경우에는 소프트웨어를 사용하여 최고의 맛 또는 감정적으로 비둘기 다락을 설치합니다. 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. 그러나 당신은 대부분의 발견과 함께 설치하는 인증서가 올바르지 않은 일반적인 이름을 귀하의 이메일 클라이언트가 발생할 수있습니다 (예 : 썬더버드)를 입력하라는 메시지가 매번 확인 메일을 허용합니다.

Assume you have created the self-signed certificate named ca.crt and your key is named ca.key. 가정을 만드신 후 자신의 이름 ca.crt - 서명 인증서의 이름과 당신의 열쇠는 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). 지금 바꾸기 (후 저장하는 백업) 기존의 경우가없습니다 인증서 파일, 내 경우엔 / 비고 / 인증 체계 / 비둘기 다락 / 쿠폰 / dovecot.pem, ca.crt (이름을 바꾼 후에 명백하게). Similarly replace the existing, if available, key file (in my case /etc/pki/dovecot/private/dovecot.pem) with ca.key (after renaming). 기존의 유사하게 대체할 수있는 경우, 키 파일 (내 경우엔 / 비고 / 인증 체계 / 비둘기 다락 / 개인 / dovecot.pem)을 ca.key (이름을 바꾼 후에).

Now open dovecot.conf and search for protocols. dovecot.conf 및 검색을 오픈 프로토콜을합니다. Ensure that the line is as follows: 라인은 다음과 같이 확인합니다 :
protocols = imaps pop3s 프로토콜 = imaps pop3s
Note: This disables regular pop3 & imap server. 참고 사항 :이 해제 정기적으로 3 & imap 서버합니다. Add them too if you must. 해야 할 경우도 추가할 수있습니다.

Ensure that the ssl_cert_file and ssl_key_file parameters are pointing to the right file as explained above. ssl_cert_file 및 ssl_key_file 매개 변수를 확인합니다 포인팅 위의 오른쪽에있는 파일을 설명합니다.

Now restart the dovecot server which in my case is simply: 이제 비둘기 다락 서버를 다시 시작합니다 내 경우는 간단합니다 :
/sbin/service dovecot restart / sbin / 서비스를 다시 시작 비둘기 다락

You should now be able to use secure POP3 & IMAP with dovecot. 이제 3 & imap과 안전을 사용할 수 비둘기 다락합니다.