Loading....

MailChimp Could Not Create SSL/TLS Secure Channel

Peeps' MailChimp Uploader

Peeps’ Software integrates with MailChimp, allowing stores to automatically add new consignors and customers to their MailChimp mailing list.

Recently, our app started returning the following error:

Could not create SSL/TLS secure channel

This is being caused by an older version of the TLS protocol, which MailChimp will no longer allow.

For anyone searching for this, I put this post out here to help any other developers trying to troubleshoot this.  There are a variety of results you’ll find when searching for this error, but it mainly comes down to the version of .NET your application targets.  The thing is though, that alone, isn’t the issue — e.g. your application needs to be targeting .NET version 4.5 or above in order to utilize the latest TLS protocol.

Your application could already be targeting .NET version 4.5, or even 4.7.2, and you’ll still get this error.

You have to explicitly specify the TLS protocol version before making your connection to MailChimp:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12

Once that’s set, you should be able to successfully connect to MailChimp again.  🙂

I've been helping consignment & resale store-owners since 2003. I started The Computer Peeps in February of 2010. After 16+ years of working with consignment stores, I understand the unique challenges consignment & resale store-owners face. From electrical issues in old building or strip malls, to advocating for them when their consignment software keeps crashing. I now manage over 600 computer systems, servers & websites for store-owners all across North America and I am the developer/programmer of Peeps' Software -- the only software written FOR consignment & resale stores specifically.

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*

Back To Top