MLE for Visa Direct

shaharn
New Contributor

MLE for Visa Direct

Hi,

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 the OpenSSL pkcs12 command, I got this error:

unable to load certificates
33124:error:0906D064:PEM routines:PEM_read_bio:bad base64 decode:.\crypto\pem\pem_lib.c:818:

 

What did I do wrong?

Any help would be appreciated.

 

Thanks