Help with ssl certificate

Hey guys

I have a p7b certificate that needs to be converted to a PEM certificate since I'm using linux mint 17.I tried to convert it online on https://www.sslshopper.com/ssl-converter.html, didn't work.

Then I tried to do it manually in the terminalthis is the output

francesco@francesco-X55A ~/Scaricati $ ls
certificatodidattica.p7b
francesco@francesco-X55A ~/Scaricati $ openssl pkcs7 -print_certs -in certificatodidattica.p7b -out certificate.cer
unable to load PKCS7 object
3074422460:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: PKCS7

please I really need help

Your output type seems to be incorrect. That or the formatting is playing hell.

Try:

openssl pkcs7 -print_certs -in certificate.p7b -out certificate.pem

This should be all you need, just obviously swap out the input file name (and change the out to something sensible)

Just tried, the output keeps saying "unable to load pkcs7 object"