Connection to appleid.apple.com/auth/keys refused

The server IP is restricted by appleid.apple.com. I tried several ways to access but was denied. In this case, how can I access Sign in with Apple?

Under linux system,
curl https://appleid.apple.com
The result returns:Failed connect to appleid.apple.com:443;
curl http://appleid.apple.com
The result returns:Failed connect to appleid.apple.com:80;

The server can access other websites except appleid.apple.com

Hi,

What does the following command return for you?

Code Block
$ curl -v https://appleid.apple.com/auth/keys


For additional documentation on fetching Apple's public keys, please see here.
curl -v https:// appleid.apple.com/auth/keys
  • About to connect() to appleid.apple.com port 443 (#0)

  •  Trying 17.141.5.102...

  • Failed connect to appleid.apple.com:443;

  • Closing connection 0

curl: (7) Failed connect to appleid.apple.com:443;
I have encountered the same problem. Have you solved it

I had similar problem - it looks like that IP address was blocked by Apple for some reason. It was IP address that was assigned to our server by Digital Ocean k8s node and probably reused from project that was not used for legal activity. When I recycled the node (and new IP address was assigned) the problem disappeared.

Connection to appleid.apple.com/auth/keys refused
 
 
Q