# Getting Error: Unknown SSL protocol error in connection to api.zoom.us:443

**URL:** <https://devforum.zoom.us/t/getting-error-unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/26178>\
**Category:** API and Webhooks\
**Created:** [August 4, 2020, 8:59am UTC](https://devforum.zoom.us/t/getting-error-unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/26178 "2020-08-04T08:59:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arpitktyr](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@arpitktyr](https://devforum.zoom.us/u/arpitktyr)\
**Post date:** [August 4, 2020, 8:59am UTC](https://devforum.zoom.us/t/getting-error-unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/26178/1 "2020-08-04T08:59:18Z")

</div>

when i am creating meeting using Zoom API on localhost it works fine,  
but when am upload it on the server then it giving me an error on create meetings  
Unknown SSL protocol error in connection to [api.zoom.us:443](http://api.zoom.us:443)  
please assist me what I do, my project is in PHP- Codeigniter

my code is given below :

protected function sendRequest($data) {  
$request\_url = ‘[https://api.zoom.us/v2/users/me/meetings](https://api.zoom.us/v2/users/me/meetings)’;  
$headers = array(  
"authorization: Bearer ".$this-\>generateJWTKey(),  
‘content-type: application/json’  
);  
$postFields = json\_encode($data);  
$curl = curl\_init();  
curl\_setopt\_array($curl, array(  
CURLOPT\_URL =\> $request\_url,  
CURLOPT\_RETURNTRANSFER =\> true,  
CURLOPT\_ENCODING =\> “”,  
CURLOPT\_MAXREDIRS =\> 10,  
CURLOPT\_TIMEOUT =\> 30,  
CURLOPT\_SSL\_VERIFYPEER=\>0,  
CURLOPT\_VERBOSE =\> true,  
CURLOPT\_HTTP\_VERSION =\> CURL\_HTTP\_VERSION\_1\_1,  
CURLOPT\_CUSTOMREQUEST =\> “POST”,  
CURLOPT\_POSTFIELDS =\> $postFields,  
CURLOPT\_HTTPHEADER =\> $headers,  
));

$response = curl\_exec($curl);  
$err = curl\_error($curl);  
$info = curl\_getinfo($curl, CURLINFO\_HTTP\_CODE);  
curl\_close($curl);

if($info==‘201’){  
return json\_decode($response); }  
elseif($info==‘300’){  
return “Invalid enforce\_login\_domains”; }  
elseif($info==‘404’){  
return “User Not Found”; }  
else  
if(!$response){  
return $err;  
}  
}

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 5, 2020, 9:14pm UTC](https://devforum.zoom.us/t/getting-error-unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/26178/2 "2020-08-05T21:14:50Z")

</div>

Hey @arpitktyr,

This must be an issue with your PHP server configuration.

Checkout these threads and let me know if they help:

[https://devforum.zoom.us/search?q=Unknown%20SSL%20protocol%20error](https://devforum.zoom.us/search?q=Unknown%20SSL%20protocol%20error)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 15, 2020, 9:14pm UTC](https://devforum.zoom.us/t/getting-error-unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/26178/3 "2020-08-15T21:14:56Z")

</div>

Closed on August 15, 2020, 9:14pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
