Getting this error on some safari devices on few it is working.
{"logs":["Unable to generate ICNS file for push notification package"]}
https://monayqa.washgas.com/portal/auth/payment/2814a6ac-e9ef-4e54-86c3-a9e811cb46d2
Post
Replies
Boosts
Views
Activity
On Safari 17.3 and onwards getting this error on previous version push popup is working as expected
Hi every one.
we are using .net to create push package, our certificate is expiring soon, so we decided to get the new one, after downloading it we dont G4 authority error on keychain, we installed that and after that make new .p12 certificate and replaced it inside our code. after replacing it, is giving error signature verification failed, no clues onn that, i am attaching my sample code which was working with old certificate.
var cert = _contentService
.GetCertificate(Path.Combine("apple-certs", "safari-web-push.p12"),
password,
X509KeyStorageFlags.MachineKeySet); // I'm not sure it's possible we have to add | X509KeyStorageFlags.EphemeralKeySet for Windows, I didn't check it
var content = new ContentInfo(manifestJson);
var signedMessage = new SignedCms(content);
var cmsSigner = new CmsSigner(cert);
cmsSigner.IncludeOption = X509IncludeOption.EndCertOnly;// Use if Error: A certificate chain could not be built to a trusted root authority.
signedMessage.ComputeSignature(cmsSigner);
byte[] result = signedMessage.Encode();
return result;
this is the function to make signature