I tried different openssl commands to generate the p12 certificate and found that the following works for me: > openssl pkcs12 -export -in cert.pem -inkey "privateKey.pem" -out myProject_keyAndCertBundle.p12 See my post on a different thread for more information: https://community.developer.visa.com/t5/Connection-Security-Errors/NET-Core-3-1-The-credentials-supplied-to-the-package-were-not/m-p/14487/highlight/true#M1165
... View more
I had same problem connecting to the API via C# (.NET Core). The hello world project is using .NET Framework and resulted in a similar exception like the one of my .NET Core project. The .NET Core project fails with the same error as @aleitner described: The SSL connection could not be established, see inner exception. The credentials supplied to the package were not recognize The .NET Framework project fails with the following WebException: SecureChannelFailure - The request was aborted: Could not create SSL/TLS secure channel. So in my opinion these two errors are more or less the same problem. The following post in the VDC Forum suggests a solution from the GitHub samples which are unfortunately not available anymore: https://community.developer.visa.com/t5/Connection-Security-Errors/The-request-was-aborted-Could-not-create-SSL-TLS-secure-channel/m-p/10547 Since one comment suggest generating the p12 certificates differently, I tried a different openssl command then the one in the Get Started-VDC tutorial. Instead of using the suggested command to create the p12 file from the key and certificate: > openssl pkcs12 -export -in cert.pem -inkey "privateKey.pem" -certfile cert.pem -out myProject_keyAndCertBundle.p12 use the following command without the -certfile param: > openssl pkcs12 -export -in cert.pem -inkey "privateKey.pem" -out myProject_keyAndCertBundle.p12 Since the newly generated certificate still works in SoapUI and Postman I think the command in the tutorials is wrong or outdated (at least for C# projects). Hope this solves your problem.
... View more