dravion.smith at gmx.net
2015-Aug-15 07:06 UTC
Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
Am 15.08.2015 um 09:04 schrieb Christian Kivalo:> provide your multi ssl doveconf -n output. - cNo. I leave this shit alone and running dovecot in multiinstance mode and now its works.
Edgar Pettijohn
2015-Aug-16 00:46 UTC
Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
/etc/ssl $ sudo doveconf -n # 2.2.15: /etc/dovecot/dovecot.conf # OS: OpenBSD 5.7 amd64 ffs auth_mechanisms = plain login default_client_limit = 500 disable_plaintext_auth = no first_valid_uid = 1000 imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags mail_location = maildir:/var/vmail/%d/%n/Maildir managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave duplicate mbox_write_locks = fcntl mmap_disable = yes namespace inbox { inbox = yes location mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix } passdb { args = scheme=BLF-CRYPT username_format=%n /etc/mail/users driver = passwd-file } plugin { sieve = file:~/sieve;active=~/.dovecot.sieve } pop3_client_workarounds = outlook-no-nuls oe-ns-eoh postmaster_address = postmaster@%d protocols = imap pop3 lmtp sieve sieve service auth { unix_listener auth-userdb { group = _smtpd mode = 0666 user = _smtpd } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service lmtp { unix_listener lmtp { mode = 0666 } } service managesieve-login { inet_listener sieve { port = 4190 } inet_listener sieve_deprecated { port = 2000 } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = </etc/ssl/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { args = username_format=%n /etc/mail/users default_fields = quota_rule=*:storage=1G driver = passwd-file } protocol lmtp { mail_plugins } protocol imap { mail_max_userip_connections = 10 mail_plugins } protocol lda { mail_plugins } local_name mail.ineedgeography.com { ssl_cert = </etc/ssl/mail.ineedgeography.com.crt ssl_key = </etc/ssl/private/mail.ineedgeography.com.key } local_name mail.pettijohn-web.com { ssl_cert = </etc/ssl/mail.pettijohn-web.com.crt ssl_key = </etc/ssl/private/mail.pettijohn-web.com.key } The above works as expected. On 08/15/15 02:06, dravion.smith at gmx.net wrote:> > > Am 15.08.2015 um 09:04 schrieb Christian Kivalo: >> provide your multi ssl doveconf -n output. - c > > No. I leave this shit alone and running dovecot in multiinstance mode > and now its works.
dravion.smith at gmx.net
2015-Aug-16 02:33 UTC
Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
Hi Ed, Interresting setup. I like the way you striped it all down to just one single file :-) But can you explain why you use globally: ssl_cert = </etc/ssl/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem and certs for any additional Domain each? ## local_name mail.pettijohn-web.com { ssl_cert = </etc/ssl/mail.pettijohn-web.com.crt ssl_key = </etc/ssl/private/mail.pettijohn-web.com.key } ## I configured it the way you do, but within the default /etc/dovecot/confd structure but i had no luck. I testet local_name (SNI), local, local <IPv6> (dedicated IPv6 Address but had no lock Configinfo: 1) MTA (Postfix 2.10.1) and MDA (Dovecot 2.2.10) configured on IPv6 Addresses 2) The MTA and MDA are connected to MariaDB (the default MySQL replacement on CentOS7 now for virtual domains, users, passwords, aliaes ect 3) Postfix uses Dovecots SASL Implementation and Postfix and Dovecot talking via LMTP and UNIX Sockets. Details: ### yum info postfix ### Name : postfix Arch : x86_64 Epoche : 2 Version : 2.10.1 Release : 6.el7 Size : 12 M>From : installedFrom Source : debian.n-ix.net_centos_7_os_x86_64_ Summary : Postfix Mail Transport Agent URL : http://www.postfix.org License : IBM and GPLv2+ Description : Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SASL), TLS ### yum info dovecot ### Name : dovecot Arch : i686 Epoche : 1 Version : 2.2.10 Ausgabe : 4.el7_0.1 Gr??e : 3.2 M Quelle : debian.n-ix.net_centos_7_os_x86_64_ Summary : Secure imap and pop3 server URL : http://www.dovecot.org/ Lizenz : MIT and LGPLv2 Description : Dovecot is an IMAP server for Linux/UNIX-like systems, written with security : primarily in mind. It also contains a small POP3 server. It supports mail : in either of maildir or mbox formats. Cheers, Drav
Seemingly Similar Threads
- Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
- Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
- Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
- Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
- Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM