Host:copilot-proxy.githubusercontent.com. is not in the cert'saltnames: DNS:*channel.mediaservices.windows.netDNS:*channel.media.azure.net
This error occurs when the hostname or IP address requested by the client does not match any of the alternative names listed in the SSL/TLS certificate presented by the server.
In this case, the client is trying to connect to "copilot-proxy.githubusercontent.com", but the certificate presented by the server only includes alternative names for ".mediaservices.windows.net" and ".media.azure.net". This means that the certificate is not valid for the requested hostname, and the connection cannot be established.
To resolve this error, the server needs to update its SSL/TLS certificate to include the correct alternative names that match the hostname or IP address requested by the client. The client can also try connecting using the correct hostname or IP address that matches the certificate's alternative names.