Merge pull request '[🐛] 2차 APNs 확인' (#7) from seonkyu.kim/AcaMate_API:main into debug
All checks were successful
Back/pipeline/head This commit looks good
All checks were successful
Back/pipeline/head This commit looks good
Reviewed-on: https://git.ipstein.myds.me/AcaMate/AcaMate_API/pulls/7
This commit is contained in:
commit
9f1fc11029
|
@ -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