Convert .cer to .p12

try this: given you have files as follow: aps.cer, downloaded from Apple. app.key, your own private key generated by openssl. 1st, convert the .cer file into .pem format: 2nd, use the .pem file and your private .key to generate .p12 file: this should prompt to ask a password for this .p12 file. CF: aps_developer_identity.cer to … Read more

How to solve “Could not establish trust relationship for the SSL/TLS secure channel with authority”

As a workaround you could add a handler to the ServicePointManager‘s ServerCertificateValidationCallback on the client side: but be aware that this is not a good practice as it completely ignores the server certificate and tells the service point manager that whatever certificate is fine which can seriously compromise client security. You could refine this and do some custom checking (for … Read more