Ubuntu 22.04 VM Cannot Access ondrej/php PPA (TLS Handshake Failure in Private Network) [closed]

12 hours ago 1
ARTICLE AD BOX

I am trying to install PHP 8.3 on an Ubuntu 22.04 (Jammy) VM running Apache, but apt update fails specifically for the ondrej/php PPA repository.


Error

Could not handshake: Error in the pull function Connection reset by peer Failed to fetch https://ppa.launchpadcontent.net/ondrej/php/ubuntu

Environment

Ubuntu 22.04 (Jammy) Apache Server Existing PHP version: 8.2 VM-based environment Private/internal network setup

Observations

Default Ubuntu repositories are reachable Google repository issue was resolved successfully Only external Launchpad/PPA repositories are failing Other external connectivity appears restricted Likely related to network/firewall/proxy restrictions rather than PHP configuration

What I have tried

Reinstalling CA certificates Updating apt transport packages Cleaning apt cache Re-adding ondrej/php PPA Restarting networking services DNS configuration checks

What I am looking for

I would like guidance on:

TLS/SSL handshake failures with Launchpad PPAs Outbound access restrictions in private VM environments DNS or firewall-related causes Proxy configuration for apt Alternative ways to install PHP 8.3 when external PPA access is blocked (offline/internal repo approach)

Question

What is the recommended approach in a restricted/private network environment to install PHP 8.3 when external repositories like ondrej/php are not accessible?

Read Entire Article