PHP warning

PHP warning

file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed

/var/rusite/web/public/model.php(122)

110                             // get last postu
111 
112                             $sqlstring = "SELECT `barcode`,`name`,`marka`,`model`,`price_r` FROM `repairs` WHERE (`model`='$modelname') AND (`sale`='no') AND (`inprogress`= 'no') AND (`sklad` <> 'Дефект')
113  AND (`sklad` <> 'Резерв') AND  (`reserv` <> 'yes') ORDER BY `internal_id` DESC   LIMIT 20";
114                             $rec_sqlCommand = $connection->CreateCommand($sqlstring);
115                             $detaillist = $rec_sqlCommand->query();
116 
117                             ?>
118                             <?php foreach ($detaillist as $detail) {
119                                 $barcode = $detail['barcode'];
120                                 ///
121                                 $JSONimagePath = 'https://aminsk.autocats.xyz/GET_IMAGE_LIST.php?barcode=' . $barcode;
122                                 $getImagesListJSON = file_get_contents($JSONimagePath);
123                                 $imageListArray = json_decode($getImagesListJSON, true);
124                                 if(isset($imageListArray['error'])){
125                                     $imageListArray[0] = '';
126                                 }
127 ///
128                                 ?>
129                                 <div class="uk-width-medium-1-3">
130                                     <div class="md-card-head head_background"
131                                          style="background-image: url('//autobrit.by/imageload.php?path=<?php echo $barcode; ?>&site=27e73')"></div>
132                                     <ul class="md-list">
133                                         <li>
134                                             <div class="md-list-content">

Stack Trace

#0
+
 /var/rusite/web/public/model.php(122): file_get_contents("https://aminsk.autocats.xyz/GET_IMAGE_LIST.php?barcode=440001313...")
117                             ?>
118                             <?php foreach ($detaillist as $detail) {
119                                 $barcode = $detail['barcode'];
120                                 ///
121                                 $JSONimagePath = 'https://aminsk.autocats.xyz/GET_IMAGE_LIST.php?barcode=' . $barcode;
122                                 $getImagesListJSON = file_get_contents($JSONimagePath);
123                                 $imageListArray = json_decode($getImagesListJSON, true);
124                                 if(isset($imageListArray['error'])){
125                                     $imageListArray[0] = '';
126                                 }
127 ///
2025-02-02 15:53:30 Apache/2.4.25 (Debian) Yii Framework/1.1.14