Hi All.
I'm having a notarization issue trying to get a product built.
Starting around the beginning of April, I have a notarization process failing every time with an invalid server certificate. The returned error is:
Error: HTTPError(statusCode: nil, error: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “notary-artifacts-prod.s3.amazonaws.com” which could put your confidential information at risk." UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=(
"<cert(0x107810200) s: *.s3.amazonaws.com i: Amazon RSA 2048 M01>",
"<cert(0x107810c00) s: Amazon RSA 2048 M01 i: Amazon Root CA 1>",
"<cert(0x107811400) s: Amazon Root CA 1 i: Starfield Services Root Certificate Authority - G2>",
"<cert(0x107811c00) s: Starfield Services Root Certificate Authority - G2 i: Starfield Class 2 Certification Authority>"
The problem certificate appears to be "Amazon RSA 2048 M01" which appears to be expired.
The error fires in response to an 'xcrun notarytool log' command. The initial ' xcrun notarytool submit' has already worked.
The build server in this case is running Jenkins, with a Makefile driven notarization stage. It all worked perfectly until a build on April 3rd, all builds have failed since.
I have tried using '--no-s3-acceleration'. But that fails even faster with:
Conducting pre-submission checks for ICFA.zip and initiating connection to the Apple notary service...
Submission ID received
id: d50a2157-7acb-4bd6-b1d1-6d0b1d52d5c9
Error: The operation couldn’t be completed. (Network.NWError error 2.)
Any help or suggestions would be appreciated. Right now I have folks needing a valid build.
Thanks in advance.
Topic:
Code Signing
SubTopic:
Notarization