RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1836522 - imap-login: Error: Failed to initialize SSL server context: Can't load SSL certificate: error:1418708B:SSL routines:ssl_do_config:unknown command
Summary: imap-login: Error: Failed to initialize SSL server context: Can't load SSL ce...
Keywords:
Status: CLOSED DUPLICATE of bug 1847697
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: dovecot
Version: 8.4
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Michal Hlavinka
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-16 14:38 UTC by Prem Słaby
Modified: 2020-09-23 10:51 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-23 10:51:49 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Prem Słaby 2020-05-16 14:38:56 UTC
Description of problem: STARTTLS command issued to IMAP server fails with the following logs:

May 16 15:30:44 prem dovecot[2664]: master: Dovecot v2.3.8 (9df20d2db) starting up for imap, pop3, lmtp
May 16 15:30:44 prem postfix/master[2691]: daemon started -- version 3.3.1, configuration /etc/postfix
May 16 15:30:48 prem dovecot[2690]: imap-login: Error: Failed to initialize SSL server context: Can't load SSL certificate: error:1418708B:SSL routines:ssl_do_config:unknown command: section=system_default, cmd=@SECLEVEL, arg=2:kEECDH:kRSA:kEDH:kPSK:kDHEPSK:kECDHEPSK:-aDSS:-3DES:!DES:!RC4:!RC2:!IDEA:-SEED:!eNULL:!aNULL:!MD5:-SHA384:-CAMELLIA:-ARIA:-AESCCM8: user=<>, rip=192.168.1.100, lip=192.168.1.202, session=<m+6gxsSlCMLAqAFk>
May 16 15:30:48 prem dovecot[2690]: imap-login: Disconnected: TLS initialization failed. (no auth attempts in 3 secs): user=<>, rip=192.168.1.100, lip=192.168.1.202, session=<m+6gxsSlCMLAqAFk>


Version-Release number of selected component (if applicable): 2.3.8 (9df20d2db)


How reproducible: I am not sure. I use LetsEncrypt issued certificate.


Steps to Reproduce:
Changes to doveconf as output by dovecot -n:
# 2.3.8 (9df20d2db): /etc/dovecot/dovecot.conf
# OS: Linux 4.18.0-193.1.2.el8_2.x86_64 x86_64 Red Hat Enterprise Linux release 8.2 (Ootpa) 
# Hostname: prem.moe
first_valid_uid = 1000
mbox_write_locks = fcntl
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 {
  driver = pam
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0600
    user = postfix
  }
}
ssl = required
ssl_cert = </etc/letsencrypt/live/1mi.pl/fullchain.pem
ssl_cipher_list = PROFILE=SYSTEM
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
userdb {
  driver = passwd
}

Actual results:
SSL initialization fails and so the login.

Expected results:
SSL initializes.

Comment 1 Prem Słaby 2020-05-16 14:51:12 UTC
This is a regression - yum downgrade dovecot-2.2.36-10.el8.x86_64 fixes the issue.

Comment 2 Michal Hlavinka 2020-09-23 10:51:49 UTC

*** This bug has been marked as a duplicate of bug 1847697 ***


Note You need to log in before you can comment on or make changes to this bug.