We received 2 files.
- PKCS7
- Intermediate.crt
###How to extract X.509 from PKCS7 ?
openssl pkcs7 -print_certs -in mysslcertificate_PKCS7.p7c
This command will output 3 parts.
- The first output will be your certificate.
- The lasts 2 the intermediate certificate authorite.
openssl verify -CAfile intermediateca.crt certificate.crt
Connect
$ openssl s_client -connect