Ja, ist ein eigener Server.
Sehe ich grundsätzlich genau so. Es scheint etwas mit der php/openssl konfiguration nicht zu passen. Doch was?
laut phpinfo(); verwendet php ja die korrekte version. Unabhängig von der php Version sollte das laden der wsdl ja trotzdem funktionieren.
Untenstehen die php Funktion aus dem Check der fehlschlägt. Auch der ist ja unabhängig und sollte funktionieren.
PHP-Code:
public function canConnect()
{
$connection = @fsockopen('ssl://contao.org', 443, $errno, $errstr, 10);
if ($connection !== false) {
fclose($connection);
return true;
}
$this->available = false;
return false;
}
Der curl Verbose hierzu
Code:
curl https://contao.org -v
* Rebuilt URL to: https://contao.org/
* Trying 104.24.96.166...
* Connected to contao.org (104.24.96.166) port 443 (#0)
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 444 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_ECDSA_AES_128_GCM_SHA256
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: sni201978.cloudflaressl.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: EC
* certificate version: #3
* subject: OU=Domain Control Validated,OU=PositiveSSL Multi-Domain,CN=sni201978.cloudflaressl.com
* start date: Wed, 16 May 2018 00:00:00 GMT
* expire date: Thu, 22 Nov 2018 23:59:59 GMT
* issuer: C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO ECC Domain Validation Secure Server CA 2
* compression: NULL
* ALPN, server accepted to use http/1.1
> GET / HTTP/1.1
> Host: contao.org
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Date: Thu, 07 Jun 2018 19:53:19 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Set-Cookie: __cfduid=d83a736127bad5f0c614ce4a8daa4541d1528401199; expires=Fri, 07-Jun-19 19:53:19 GMT; path=/; domain=.contao.org; HttpOnly
< Location: https://contao.org/de/
< Strict-Transport-Security: max-age=31536000; includeSubDomains
< Referrer-Policy: no-referrer-when-downgrade, strict-origin-when-cross-origin
< Set-Cookie: csrf_https-contao_csrf_token=bKeIB2kagFu85TZXCzQ0ApOL8VmI9NXyQt_ZN7nI5PA; expires=Fri, 08-Jun-2018 19:53:19 GMT; Max-Age=86400; path=/; secure; httponly; samesite=lax
< X-Page-Speed: ngx_pagespeed
< Cache-Control: max-age=0, no-cache
< Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< Server: cloudflare
< CF-RAY: 4275aa061df726f0-FRA
<
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta http-equiv="refresh" content="0;url=https://contao.org/de/"/>
<title>Redirecting to https://contao.org/de/</title>
</head>
<body>
Redirecting to <a href="https://contao.org/de/">https://contao.org/de/</a>.
</body>
Lesezeichen