Articles on: Troubleshooting

stream_socket_enable_crypto(): Peer certificate CN=* did not match expected when sending emai

If you receive the following error:

"ERROR Warning: stream_socket_enable_crypto(): Peer certificateCN=*' did not match expected' in ..."

You are not using the proper server name for your mail server.

In order to resolve this error make sure that the proper server name is used (For Example: the cPanel server name) or the option "**Ignore Invalid Mail Server SSL**" is enabled under Settings > Mail Configuration.

Updated on: 27/02/2023

Was this article helpful?

Share your feedback


Thank you!