Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
No need to interfere with Lavarel and VPN - this is a separate software.
The most you can do from Lavarel is to run an external command that establishes a VPN connection if you do not have a permanent one.
That is, you need to administer (or agree with the admin who will do this) - set up a connection to the 1C server via VPN.
Once you have this connection, working from Lavarel is no different from any regular network connection.
What do you say to that???
<?php
curl_setopt($ch, CURLOPT_VERBOSE, '1');
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, '2');
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, '1');
curl_setopt($ch, CURLOPT_CAINFO, getcwd().'/cert/ca.crt');
curl_setopt($ch, CURLOPT_SSLCERT, getcwd().'/cert/mycert.pem');
curl_setopt($ch, CURLOPT_SSLCERTPASSWD, 'password');
?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question