Err:1 Index of linux/ubuntu/ jammy InRelease
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 52.85.5.22 443]
curl: (60) SSL certificate problem: self-signed certificate in certificate chain
More details here: curl - SSL CA Certificates
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
gpg: no valid OpenPGP data found.
According to a similar issue, it might be because the ca-certificate is not up to date try updating it, and just to be sure there are no other issues try updating the other packages used to install the certificate keys as well.