Installed the cert via the cli and answered yes to use SSL in email/ftp and control panel.
Control panel now resolves https fine but imapd still gives this error:
Nov 27 12:17:39 sosaria imapd-ssl: couriertls: /etc/imscp/imscp_services.pem: error:0906D06C:PEM routines:PEM_read_bio:no start line
Nov 27 12:17:39 sosaria imapd-ssl: Unexpected SSL connection shutdown.
Any ideas? My cert, private key and bundle are valid. Ports are standard right? 993 and 587?