[error] => Problem with the SSL CA cert (path? access rights?)

Participant

[error] => Problem with the SSL CA cert (path? access rights?)

I am using the Constant Contact PHP Library. Nothing has changed about our implementation in about a year. Yesterday our user sign up for email list stopped work. Here is the response from the makeRequest() method:

 

Array
(
[xml] =>
[info] => Array
(
[url] => https://api.constantcontact.com/ws/customers/gscoc/settings/emailaddresses
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0.001353
[connect_time] => 0.072377
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => -1
[starttransfer_time] => 0
[redirect_time] => 0
[certinfo] => Array
(
)

[redirect_url] =>
)

[error] => Problem with the SSL CA cert (path? access rights?)
)

 

Can you tell me why we are getting [http_code] => 0 and [error] => Problem with the SSL CA cert (path? access rights?)

1 REPLY 1
Member

Hello,

 

Based on what you have described, it looks like there is a problem with your SSL certificates that are stored for your web server. If you have the ability to restart your server software (Apache for example), that would be a good first step. If that fails, the next step you would want to take is to make sure that your SSL certificates are up to date.

 

Best Regards,

Elijah G.
API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page