[🐛] 2차 APNs 확인 #7
|
@ -37,7 +37,9 @@ public class PushServiceWithP12
|
|||
};
|
||||
var jsonPayload = JsonSerializer.Serialize(payload);
|
||||
|
||||
var certificate = new X509Certificate2(p12Path, p12Password);
|
||||
var certificate = new X509Certificate2(p12Path, p12Password,
|
||||
X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.Exportable
|
||||
);
|
||||
|
||||
var handler = new HttpClientHandler();
|
||||
handler.ClientCertificates.Add(certificate);
|
||||
|
|
Loading…
Reference in New Issue
Block a user