# Has something changed with the certificate/security on the API?

**URL:** <http://forum.companieshouse.gov.uk/t/has-something-changed-with-the-certificate-security-on-the-api/126>\
**Category:** Uncategorized\
**Created:** [June 29, 2015, 5:57pm UTC](http://forum.companieshouse.gov.uk/t/has-something-changed-with-the-certificate-security-on-the-api/126 "2015-06-29T17:57:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ash](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/a/f19dbf/32.png) [@ash](http://forum.companieshouse.gov.uk/u/ash)\
**Post date:** [June 29, 2015, 5:57pm UTC](http://forum.companieshouse.gov.uk/t/has-something-changed-with-the-certificate-security-on-the-api/126/1 "2015-06-29T17:57:50Z")

</div>

I’ve started to get errors when sending requests to the API despite the fact that it’s code that worked fine a couple of weeks ago. Also, I’m sending requests to the Document API using code that is _identical_ except for the URL and that is working without error.

The error I’m getting is a fairly generic .NET one: “Authentication failed because the remote party has closed the transport stream” and research suggests it’s something to do with security on the HTTPS request. I’ve tried a few things but haven’t be able to figure it out and was wondering if anything had changed or anyone else is having problems.

---

<div class="post-metadata">

**Author:** ![mfairhurst](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/m/bbce88/32.png) [@mfairhurst](http://forum.companieshouse.gov.uk/u/mfairhurst)\
**Post date:** [July 2, 2015, 2:52pm UTC](http://forum.companieshouse.gov.uk/t/has-something-changed-with-the-certificate-security-on-the-api/126/2 "2015-07-02T14:52:10Z")

</div>

Apologies for the slow response on this. Could you provide some further details. Is it all API end points or specific ones?

---

<div class="post-metadata">

**Author:** ![ash](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/a/f19dbf/32.png) [@ash](http://forum.companieshouse.gov.uk/u/ash)\
**Post date:** [July 3, 2015, 8:31am UTC](http://forum.companieshouse.gov.uk/t/has-something-changed-with-the-certificate-security-on-the-api/126/3 "2015-07-03T08:31:57Z")

</div>

Sorry, I should have updated this thread as the problem has been resolved off-forums.

For the record it was a setting that had been changed on the secure certificate that rendered the API unusable in some older Windows environments. This has been updated and we’re all good now!

---

<div class="post-metadata">

**Author:** ![csmith](http://forum.companieshouse.gov.uk/user_avatar/forum.companieshouse.gov.uk/csmith/32/8_2.png) [@csmith](http://forum.companieshouse.gov.uk/u/csmith)\
**Post date:** [July 14, 2015, 9:57am UTC](http://forum.companieshouse.gov.uk/t/has-something-changed-with-the-certificate-security-on-the-api/126/4 "2015-07-14T09:57:55Z")

</div>


