API to recover name and statut from jira ticket

I’m a studient on traineeship and I search a way to recover name and status from jira-ticket to dispay it on a software used by the hotline in the company where i work.
First, i thought it could be done with an API Rest request and I search informations on documentations. I found this topic to generate a basic auth in curl : Basic auth for REST APIs . I used the Powershell way to translate my API token and tried to do an API request from it. Here’s my code with PHP :
<?php $params=['Authorization'=>' Basic *Encode_Identifiant_and_API_Token_with_powershell*']; $defaults = array( CURLOPT_URL => 'https://*company*.atlassian.net/rest/api/3/issue/*ticket reference*', CURLOPT_POST => true, CURLOPT_POSTFIELDS => $params, ); $ch = curl_init(); curl_setopt_array($ch, $defaults); curl_exec($ch); if(curl_error($ch)){ echo (curl_error($ch)); } curl_close($ch); ?>

It only display this error message : “SSL certificate problem: unable to get local issuer certificate”.
Any idea, way, or solution to this mission ?

(Sorry for bad english, i’m french and i can repost it in french if you need :fr: :croissant:).

Have a good day :slight_smile: !