Fixed 502 Bad Gateway error while communicating with Apple Servers. Replaced HTTP for HTTPS on appleRootCAURL (#792)

This commit is contained in:
Hernan Paez
2022-01-12 01:12:55 -03:00
committed by GitHub
parent be0157a044
commit 784bb35134

View File

@@ -73,7 +73,7 @@ func (p *PushCertificateRequest) Encode() ([]byte, error) {
const (
wwdrIntermediaryURL = "https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer"
appleRootCAURL = "http://www.apple.com/appleca/AppleIncRootCertificate.cer"
appleRootCAURL = "https://www.apple.com/appleca/AppleIncRootCertificate.cer"
)
// CreatePushCertificateRequest creates a request structure required by identity.apple.com.