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.
Any information on this? Does the silence mean it is not SSL and there isn't an option for SSL?
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.
Excellent, thank you very much.
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
Anyway of getting a copy of the HTTP, not SSL, dll?
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.
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?
Ignore my last comment sorry!