Trying to create an AS2 EDI connection with a signed MDN using the PHP AS2Secure library running on Ubuntu 14.04.
When the app issues this command:
openssl smime -encrypt -in '/tmp/as2file_ipLjR3' -out '/tmp/as2file_j2HDRa' -des3 '/home/server/app/as2secure/partners/sourcingco/SourcingCoAS2.cer' It produces this error:
unable to load certificate 140035455448736:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE Any ideas where I'm getting this wrong?
sec_certificateto encode the messages, which I'm assuming is supposed to reference the remote partner's .cer file.