Customers running Connect on-premise with Stunnel to terminate SSL connections are advised to stay clear of Stunnel version 5.34.
This is applicable to Connect 9.5.x, I have not verified the steps in older versions, but Connect 9.0 and higher should share the configuration.
Here’s a new SSL configuration guide (PDF) aimed at Connect 9 and higher. It should help you get SSL working in most environments with and without Events module (CQ).
This is specific to Connect on-premise installations with Events and with SSL configured for the Event service.
Click here to read this article.