I’m building an integration into a PHP app which currently connects to a legacy Ansible server, and will be migrating to connecting to an AWX API server. Both are using v2.
With the new integration, I try to connect to the API server using the SSL address, but I’m getting an error “cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to awx.expedient.cloud:443”
If I visit the same API route in a browser, it works fine.
Is there a requirement on my app side? I tried to provide some options to Guzzle (basically a Curl wrapper), that woulddisable the SSL verification, but didn’t make any difference.
```
$options = [
RequestOptions::VERIFY => false, // Disable SSL verification
RequestOptions::TIMEOUT => 30,
RequestOptions::CONNECT_TIMEOUT => 10,
'curl' => \[
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_SSLVERSION => CURL_SSLVERSION_TLSv1_2,
\],
RequestOptions::HEADERS => \[
'Authorization' => 'Bearer ' . $this->config->getAccessToken(),
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'User-Agent' => 'Cadence-AWX-Client/1.0'
\]
\];
```