Re: .NET Core 3.1: The credentials supplied to the package were not recognized

Solved! Go to solution
API_Managers
Visa Developer Support Specialist

Re: .NET Core 3.1: The credentials supplied to the package were not recognized

Hey @aleitner,

 

Thanks for letting us know how your issue was resolved. 😉

 

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

daniel19
Regular Visitor

Re: .NET Core 3.1: The credentials supplied to the package were not recognized

Just wanted to chime in and say that I was having the exact same issue and changing my keycert generation to the recommended command in this thread solved my issue as well:

`> openssl pkcs12 -export -in cert.pem -inkey "privateKey.pem" -out myProject_keyAndCertBundle.p12`

API_Managers
Visa Developer Support Specialist

Re: .NET Core 3.1: The credentials supplied to the package were not recognized

Hey @daniel19,

 

That's excellent, Daniel. Thanks for sharing your solution with our community. 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

eddymta
New Contributor

Re: .NET Core 3.1: The credentials supplied to the package were not recognized

hai diana, 


I'm still hitting the same error even when using the community solution without the -certfile
fyi, i'm using the function of your test sample of C#
Capture.PNG

API_Managers
Visa Developer Support Specialist

Re: .NET Core 3.1: The credentials supplied to the package were not recognized

Hey @eddymta,

 

We're happy to help resolve your issue. To continue, please provide the information below:

1. Endpoint
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 

Here's a link to common Visa Developer error codes and how to resolve them - https://developer.visa.com/pages/visa-developer-error-codes 

 

If you don't find an error code listed here, refer to the API-specific error codes in its respective documentation pages. 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

VB1
Helper

Re: .NET Core 3.1: The credentials supplied to the package were not recognized

Hello,

 

Solution suggested by @bstricker did the trick for me. Thanks a lot!

pbc
Regular Visitor

Re: .NET Core 3.1: The credentials supplied to the package were not recognized

I had this exact problem and your solution worked for me. I'm so happy right now 🙂

@bstricker you are a lifesaver

alinabo12
Dabbler

Re: .NET Core 3.1: The credentials supplied to the package were not recognized

The response from bsticker suggests using a slightly different command in openssl to create the p12 certificate: openssl pkcs12 -export -in cert.pem -inkey "privateKey.pem" -out myProject_keyAndCertBundle.p12