In article <tljfgj$27ek$
4...@gallifrey.nk.ca>,
The issue with wordpress was a firewalling issue!
As for serendipity, from
https://board.s9y.org/viewtopic.php?p=10455367#p10455367
From CLI
php testcode.php
Failed loading /usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so: Cannot open "/usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so"
PHP Warning: PHP Startup: igbinary: Unable to initialize module
Module compiled with module API=20170718
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
curl seems to work 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 in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
PHP Warning: file_get_contents(): Failed to enable crypto in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
PHP Warning: file_get_contents(
https://raw.github.com/s9y/additional_p ... bar_en.xml): failed to open stream: operation failed in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
HTTP_Request2_ConnectionException: Unable to connect to tls://
raw.github.com:443. Error: stream_socket_client(): unable to connect to tls://
raw.github.com:443 (Unknown error)
stream_socket_client(): Failed to enable crypto
stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2/Adapter/Socket.php on line 331
#0 /usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2/Adapter/Socket.php(331): HTTP_Request2_SocketWrapper->__construct('tls://raw.githu...', 10, Array)
#1 /usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2/Adapter/Socket.php(128): HTTP_Request2_Adapter_Socket->connect()
#2 /usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2.php(941): HTTP_Request2_Adapter_Socket->sendRequest(Object(HTTP_Request2))
#3 /usr/home/doctor/html/blog/serendipity/testcode.php(31): HTTP_Request2->send()
#4 {main}PHP Notice: Undefined variable: response in /usr/home/doctor/html/blog/serendipity/testcode.php on line 39
PHP Fatal error: Uncaught Error: Call to a member function getBody() on null in /usr/home/doctor/html/blog/serendipity/testcode.php:39
Stack trace:
#0 {main}
thrown in /usr/home/doctor/html/blog/serendipity/testcode.php on line 39
Okay, so openssl.c afile is empty. I think that's around where the problem is. The error message showed PHP is failing to valdiate github's certificate:
CODE: SELECT ALL
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
I assume there is something misconfigured, either the local cert collection is missing or can't be read by PHP. The server time is set correctly, right?
As in
https://github.com/composer/composer/issues/8312, you could try to download a fresh cacert.pem and configure PHP to use it for openssl, via the openssl.cafile setting. Otherwise you would need someone with knowledge about FreeBSD on what might be wrong with the cert chain here. This is likely a bug in FreeBSD.
There are new sets of certs for FreeBSD IIRC.