You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Currently the HttpClient only allows PEM-files for local_cert but curl has more options (DER, ENG, P12). Unfortunately this needs to be configured via another option CURLOPT_SSLCERTTYPE.
My proposal is to add the option local_cert_type to the CurlHttpClient. This could configured manually or probably guessed by the file extension.
I don't know if it is supported by the AmpHttpClient.
The text was updated successfully, but these errors were encountered:
I did that :-) But now I have two pem-files one for cert and one for private key. My use case is sending requests to apple push notification service for wallet updates. We also need to sign the wallets with an p12. With this option we would have only one file instead three.
(I could contribute this when it would be accepted)
Can't you bundle them both in the same file? This should work IIRC.
I'm leaning toward a 👎 on this since it will create portability issues between implementations (making it more complex to move from curl to native or amp)
Description
Currently the HttpClient only allows
PEM
-files forlocal_cert
but curl has more options (DER
,ENG
,P12
). Unfortunately this needs to be configured via another optionCURLOPT_SSLCERTTYPE
.My proposal is to add the option
local_cert_type
to the CurlHttpClient. This could configured manually or probably guessed by the file extension.I don't know if it is supported by the AmpHttpClient.
The text was updated successfully, but these errors were encountered: