Post

Replies

Boosts

Views

Activity

Reply to Command CodeSign fails because of two Apple Worldwide Developer certificates
@eskimo, here you go: > % codesign -s "Apple Development XXX" -f -vvv MyTrue MyTrue: replacing existing signature Warning: unable to build chain to self-signed root for signer "Apple Development XXX" MyTrue: errSecInternalComponent > % security verify-cert -c "Apple Development XXX.cer" -p codeSign -vvv ...certificate verification successful. --- Certificate chain 0: Apple Development XXX <cert(0x12301a200) s: Apple Development XXX i: Apple Worldwide Developer Relations Certification Authority> 1: Apple Worldwide Developer Relations Certification Authority <cert(0x12301ac00) s: Apple Worldwide Developer Relations Certification Authority i: Apple Root CA> 2: Apple Root CA <cert(0x123016e00) s: Apple Root CA i: Apple Root CA> --- Certificate chain properties ( { error = "No error."; title = "Apple Development XXX"; }, { title = "Apple Worldwide Developer Relations Certification Authority"; }, { title = "Apple Root CA"; } ) --- Trust evaluation results { TrustEvaluationDate = "2022-12-15 09:30:41 +0000"; TrustExpirationDate = "2022-12-15 13:35:57 +0000"; TrustResultDetails = ( { }, { }, { } ); TrustResultValue = 4; TrustRevocationChecked = 1; } > % codesign -s "Apple Development XXX" -f -vvv MyTrue MyTrue: replacing existing signature Warning: unable to build chain to self-signed root for signer "Apple Development XXX" MyTrue: errSecInternalComponent When I remove duplicated certificates: > % codesign -s "Apple Development XXX" -f -vvv MyTrue MyTrue: replacing existing signature MyTrue: signed Mach-O universal (x86_64 arm64e) [MyTrue]
Dec ’22
Reply to Command CodeSign fails because of two Apple Worldwide Developer certificates
I have exactly the same info :)
Replies
Boosts
Views
Activity
Dec ’22
Reply to Command CodeSign fails because of two Apple Worldwide Developer certificates
@eskimo, here you go: > % codesign -s "Apple Development XXX" -f -vvv MyTrue MyTrue: replacing existing signature Warning: unable to build chain to self-signed root for signer "Apple Development XXX" MyTrue: errSecInternalComponent > % security verify-cert -c "Apple Development XXX.cer" -p codeSign -vvv ...certificate verification successful. --- Certificate chain 0: Apple Development XXX <cert(0x12301a200) s: Apple Development XXX i: Apple Worldwide Developer Relations Certification Authority> 1: Apple Worldwide Developer Relations Certification Authority <cert(0x12301ac00) s: Apple Worldwide Developer Relations Certification Authority i: Apple Root CA> 2: Apple Root CA <cert(0x123016e00) s: Apple Root CA i: Apple Root CA> --- Certificate chain properties ( { error = "No error."; title = "Apple Development XXX"; }, { title = "Apple Worldwide Developer Relations Certification Authority"; }, { title = "Apple Root CA"; } ) --- Trust evaluation results { TrustEvaluationDate = "2022-12-15 09:30:41 +0000"; TrustExpirationDate = "2022-12-15 13:35:57 +0000"; TrustResultDetails = ( { }, { }, { } ); TrustResultValue = 4; TrustRevocationChecked = 1; } > % codesign -s "Apple Development XXX" -f -vvv MyTrue MyTrue: replacing existing signature Warning: unable to build chain to self-signed root for signer "Apple Development XXX" MyTrue: errSecInternalComponent When I remove duplicated certificates: > % codesign -s "Apple Development XXX" -f -vvv MyTrue MyTrue: replacing existing signature MyTrue: signed Mach-O universal (x86_64 arm64e) [MyTrue]
Replies
Boosts
Views
Activity
Dec ’22
Reply to Command CodeSign fails because of two Apple Worldwide Developer certificates
I have the same issue. It survives multiple devices, accounts and OS updates! Fix it!
Replies
Boosts
Views
Activity
Dec ’22
Reply to Command CodeSign fails because of two Apple Worldwide Developer certificates
As for now I use the following walk-around. You need to UNTRUST the following certificates: Apple Worldwide Developer Relations Certification Authority (exp. 2023) Developer ID Certification Authority (exp. 2027) However, it doesn’t work all the time, so I just delete them (xcode will eventually generates them again) :/
Replies
Boosts
Views
Activity
Dec ’22