Skip to contentNVIDIAQuantumComputing.ai is a member of NVIDIA Inception.Explore the program
Illustrative walkthrough

Inspect certificate algorithms before planning a migration

QCAI guide cover: Inspect certificate algorithms before planning a migration

THE SHORT ANSWER

A reproducible OpenSSL example showing how to separate a certificate’s subject key, signature algorithm and artifact fingerprint without overstating the evidence.

To inspect a certificate for a cryptographic inventory, record its subject public-key algorithm separately from the algorithm used to sign the certificate. Add an artifact fingerprint and provenance, then connect the record to an owner and a real system before making a migration decision.

This reproducible, illustrative exercise uses a disposable, self-signed RSA certificate. It is a local inspection walkthrough, not a scan of a customer, a public endpoint or a production certificate chain. It does not generate a post-quantum certificate or demonstrate a completed migration.

1. Create a disposable example

Use a supported OpenSSL release in a new temporary directory. OpenSSL 3.6 is no longer supported; the version below records the original lab environment. Check that your terminal resolves the intended installation with the first command. The commands below were executed successfully with OpenSSL 3.6.2 during preparation on November 26, 2026.

openssl version
mkdir certificate-inventory-example
cd certificate-inventory-example
umask 077
openssl req -x509 -newkey rsa:2048 -sha256 -noenc -days 1 \
  -subj '/CN=inventory-example.invalid' \
  -keyout example.key -out example.pem

The OpenSSL req documentation documents certificate creation and the option that leaves the generated private key unencrypted. Here that key is a disposable local test artifact: do not upload it, reuse it or install this certificate as a trust anchor. This is not a production issuance recipe.

2. Capture identity and inspect the algorithms

openssl x509 -in example.pem -noout \
  -subject -issuer -serial -dates -sha256 -fingerprint
openssl x509 -in example.pem -noout -text

These commands print metadata and a readable certificate representation; they do not validate a certificate chain. The OpenSSL x509 documentation explains these inspection options and the certificate fingerprint.

In our generated example, the text output contained these fields, shown here with indentation removed:

Signature Algorithm: sha256WithRSAEncryption
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)

Your serial number, fingerprint, dates and key material will differ. Retain your actual output rather than copying someone else's identifiers into an inventory. The text output may display the signature algorithm more than once; that alone is not evidence of multiple independent signing keys.

3. Keep the two algorithm roles distinct

RFC 5280 sections 4.1.1.2 and 4.1.2.7 define separate fields for the certificate's signature algorithm and the subject public key. Record both roles even when both involve RSA, as they do here.

The SHA-256 name in the signature field does not turn the subject's RSA key into a post-quantum key. Similarly, a SHA-256 certificate fingerprint is an artifact identifier, not the certificate's public-key algorithm.

Use a small evidence record. The values below describe only this illustrative local fixture; the record structure is our recommendation, not a prescribed inventory standard.

FieldExample evidence or next action
ProvenanceLocally generated example.pem; not collected from a service
Subject keyrsaEncryption, 2048 bit
Certificate signaturesha256WithRSAEncryption
Artifact identityPaste the SHA-256 fingerprint from your own run
Deployment and ownerNot applicable to this disposable example
Trust and compatibilityNot established by these inspection commands

4. Turn a real artifact into a review question

When repeating inspection on an authorized real certificate file, preserve where and when it was obtained. Ask the service owner which deployment uses it, how renewal works, which issuer and trust chain it depends on, and which consumers must remain compatible. Inspect relevant chain certificates separately; one leaf certificate is not a complete dependency inventory.

Do not infer a system-wide migration priority from an algorithm label alone. Link the evidence to the actual use, dependency constraints and approved testing plan. This workflow does not claim that the QuantumComputing.ai scanner automatically performs these steps.

Limits and cleanup

A parsed certificate does not prove possession of its private key, live deployment, hostname acceptance, revocation status or successful application interoperability. A matching subject and issuer in this self-signed example does not establish external trust. No network connection or chain validation was performed here.

After reviewing your output, remove the generated files from the example directory:

rm example.key example.pem

Summary

Separate the subject key from the certificate signature, retain reproducible artifact evidence, and assign deployment questions to an owner. Certificate inspection is an input to migration planning; its limits should travel with the finding.

Go to the source.

  1. openssl-req: certificate request and certificate generation ↗ — OpenSSL
  2. openssl-x509: certificate inspection options ↗ — OpenSSL
  3. RFC 5280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile ↗ — IETF
  4. OpenSSL 3.4 and 3.6 End of Life ↗ — OpenSSL
Educational guidance. Confirm system-specific choices with your security and engineering teams.

Make it a team conversation.

Use six questions to organize your planning gaps and share a checklist with your team.

Build a team checklist →

Keep exploring.

Build your understanding →