Skip to content

Not extracting all certificates from keyfile #73

Description

@Hemdian

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions