Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not extracting all certificates from keyfile #73

Open
Hemdian opened this issue Dec 16, 2024 · 0 comments
Open

Not extracting all certificates from keyfile #73

Hemdian opened this issue Dec 16, 2024 · 0 comments

Comments

@Hemdian
Copy link

Hemdian commented Dec 16, 2024

NVPClient.RunTransaction() used to use X509Certificate2Collection.Import() to extract all certificates from a keyfile into a collection. This has been changed to now instantiate a certificate from the keyfile and add it to the collection instead. That means the collection will now only have one certificate whereas it used to have multiple. When using config.UseSignedAndEncrypted, the code will look for a merchant certificate AND a cybersource certificate ... and now fails. This bug seems to be repeated multiple times in NVPClient.cs, SoapClient.cs, and XmlClient.cs.

@Hemdian Hemdian changed the title Bug: Not extracting all certificates from keyfile Not extracting all certificates from keyfile Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant