Does the API wrapper use SSL?

Previously we used the https://secure.campaignmonitor.com/api/api.asmx or https://api.createsend.com/api/api.asmx web services for secure SSL communications.  Does CampaignMonitorAPIWrapper.dll use SSL?  If not, is this configurable or is there a different DLL that we can access.  SSL is a client requirement.

Thanks!

jstevenson, 7 years ago

Any information on this?  Does the silence mean it is not SSL and there isn't an option for SSL?

jstevenson, 6 years ago

SSL?

jamesd jamesd, 6 years ago

Hi and apologies for the delayed response.

Firstly, our API endpoint definitely still supports SSL so you can access the WSDL at https://api.createsend.com/api/api.asmx?wsdl

The .NET wrapper available from http://www.campaignmonitor.com/api/kits/#dot-net-c-sharp-sample just uses the http endpoint by default, although you are able to download the source of this wrapper (http://github.com/campaignmonitor/net-api-wrapper-with-source), open it in Visual Studio and update the web reference to use the https endpoint.

If you need any further support with this, feel free to email support (and preferably link back to this post). Hope that helps.

jstevenson, 6 years ago

Excellent, thank you very much.

jamesd jamesd, 6 years ago

As of our release today, the .NET wrapper uses the https endpoint by default. You can get the DLL and/or code here: http://github.com/campaignmonitor/net-api-wrapper-with-source

tim.faase, 6 years ago

Anyway of getting a copy of the HTTP, not SSL, dll?

jamesd jamesd, 6 years ago

Hey Tim,

You're able to get the source of the .NET API wrapper from http://github.com/campaignmonitor/net-api-wrapper-with-source

If you simply change the web reference to use http rather than https, you should be able to build a version of the dll for yourself which fits your needs.

tim.faase, 6 years ago

Hey Jamesd,

Thanks for the heads up, perfect. I downloaded the source and checked it... seems already to be in HTTP. I rebuilt it in case and I'm still getting a strange error.

System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

I assume I shouldn't get this error if I'm not connecting via SSL?

tim.faase, 6 years ago

Ignore my last comment sorry!

Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098