I'm trying to encrypt a payload (MLE) for Visa Direct API.
I generated the Key-ID and added the CSR, got my private key (pem file), server encryption certificate (pem file) and client certificate file (pem file).
All good so far.
As far as I understand, the public key for encryption should be a p12 file, generated from my private key (which I got when I added the CSR for MLE) and from the server certificate file (which I downloaded from MLE credentials) .
But when I ran theOpenSSL pkcs12command, I got this error: