P7S CER
File conversion

Convert P7S to CER

QUICK ANSWER
Is it possible to convert P7S to CER?
Yes - P7S converts to CER.

Use OpenSSL to extract the certificate from the .p7s with a single command on any OS. The .p7s is a detached signature container, not a document - there is nothing to transform, only a certificate to pull out.

Also to CER: PFX · P12 · CAT

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert P7S to CER?

A .p7s (PKCS #7 signature) carries the cryptographic signature and the signer's X.509 certificate(s) but not the signed content. Extracting the certificate lets you add it to a trust store, inspect who signed, or pass it to another system for verification without contacting the original signer.

How to convert P7S to CER

OpenSSL FREE

Run openssl pkcs7 against the .p7s to extract certificate(s) to a PEM file, then use openssl x509 to convert to a DER-encoded .cer. Pre-installed on macOS and most Linux distributions; install separately on Windows.

Microsoft Outlook APP

For signed emails verified by Outlook, click the signature badge, view the certificate, go to the Details tab, and use Copy to File to export as DER .cer. Only works for email-attached signatures, not standalone .p7s files.

About these formats

Quality & what to watch

  • A .p7s is a detached signature that carries the signature and signer certificate(s) but not the original document - there is nothing to 'convert', only a certificate to extract.
  • Keep the original .p7s and signed file together if you need to re-verify later; the extracted .cer proves who signed but not what was signed.
  • A .p7s may carry a full certificate chain; OpenSSL's output may contain multiple certificates that need to be split before converting each to .cer individually.

Frequently asked questions

Why can't I just rename `.p7s` to `.cer`?
The two formats are structurally different - .p7s is a PKCS #7 container wrapping the signature and certificate(s); .cer is a bare X.509 certificate. Renaming produces a broken file.
Do I need the original document to extract the certificate?
No - the signer's certificate is embedded in the .p7s itself; you do not need the signed document to extract it.
What if my `.p7s` is PEM-encoded instead of binary?
If the file starts with -----BEGIN PKCS7-----, change the OpenSSL flag from -inform DER to -inform PEM.
Can Outlook extract certificates from standalone `.p7s` files?
No - Outlook's certificate viewer only works for email signatures it has already verified; for standalone .p7s files, use OpenSSL instead.