Hello,
I'm debugging with openssl s_client...
From inside the box:
$ openssl s_client -connect blackshell.usebox.net:995 CONNECTED(00000004) depth=0 /C=ES/ST=Valencia/L=Valencia/O=usebox.net/OU=blackshell/CN=blackshell.usebox.net verify error:num=18:self signed certificate verify return:1 depth=0 /C=ES/ST=Valencia/L=Valencia/O=usebox.net/OU=blackshell/CN=blackshell.usebox.net verify return:1 ...
And works fine.
From outside:
$ openssl s_client -connect blackshell.usebox.net:995 CONNECTED(00000003)
(and halts for n minutes)
I hope this helps, even I don't know the difference between "CONNECTED(00...4)" and "CONNECTED(00...3)".
Regards,
Juanjo