RE: Ubuntu: How to setup TLS on postfix and dovecot
05-17-2015, 05:31 PM
(This post was last modified: 05-17-2015, 05:33 PM by SGr33n.)
This worked pretty good for me, except for the fact that I haven't access to the mail anymore. If I try to send an email via smtp it works, but when I try to access to the webmail it said IMAP server doesn't respond, so I had to disable the part concerning Dovecot. What can be happened?
Then when i ran:
It asked me for a PEM pass phrase, and It's required, but then where I have to use in?
Thanks
Then when i ran:
Code:
openssl req -new -x509 -extensions v3_ca -keyout /etc/postfix/ssl/cakey.pem -out /etc/postfix/ssl/cacert.pem -days 3650
It asked me for a PEM pass phrase, and It's required, but then where I have to use in?
Quote:Generating a 2048 bit RSA private key
........................................................................................................................................+++
...........................................................................+++
writing new private key to '/etc/postfix/ssl/cakey.pem'
Enter PEM pass phrase:
139671356200592:error:28069065:lib(40):UI_set_result:result too small:ui_lib.c:869:You must type in 4 to 1024 characters
139671356200592:error:0906406D: PEM routines: PEM_def_callback: problems getting password:pem_lib.c:111:
139671356200592:error:0907E06F: PEM routines: DO_PK8PKEY:read key: pem_pk8.c:130:
Thanks