forked from AcaMate/AcaMate_API
[🐛] 2차 APNs 확인
This commit is contained in:
parent
522432455c
commit
818721f11d
|
@ -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