This guide describes a very specific problem you may encounter if you are setting up Jetpack CRM mail delivery on a shared host or small virtual server. If you are looking for the general ‘how to set up mail delivery’ please see the full guide: Mail Delivery setup in Jetpack CRM.
SSL Verification
If you’re trying to go through the SMTP mail delivery setup wizard, and you’re having trouble ‘verifying’ your mail endpoint, you can now click ‘Debug’ to see more info on what’s happening. If you click that and then see an error similar to this:
stream_socket_enable_crypto(): Peer certificate did not match expected
… then this is your issue. Ultimately Jetpack CRM is trying to send mail out from your server, through another, and the other server has an outdated SSL certificate, or the DNS somewhere along the network has outdated name records for this domain. Either way, it’s often safe to ‘ignore’ this verification, and as such Jetpack CRM has an option for you to disable this (just for outbound mail, this setting will not affect your general PHP ssl verification).
How to remedy SMTP SSL mismatch
Since v2.95.4
Jetpack CRM will do its best to solve this problem for you, but you may need to go into settings and enable the feature. Here’s how:
- Go to Jetpack CRM > CRM Settings > Mail.
- In the “Global Mail Settings” section, make sure the “Disable SSL Verification” option is enabled (checked).
- Scroll down to the bottom of the page and click the “Save Settings” button.
- Go through the Mail Delivery Setup wizard again, and check if your Jetpack CRM is able to verify your SMTP method.
If you hit any other SMTP setup issues, please do contact support, including the full debug log, as mentioned above.