Softaculous hosted on web provider. Issues setting up SMTP w office365

Has anyone had any success setting up smtp on O365 on self-hosted? I get the following error stream_socket_enable_crypto():Peer certificate CN=’*’ did not match expected CN=‘

Maybe this will help…

Thanks not sure how I would need to do this certificate item with office 365. I may have to reach out for assistance.