1

What's the required key usage/extended key usage for signing documents, eg.PDF, Word, PowerPoint, Excel, etc...

I am going to create a self-signed certificate that is needed to sign those documents. I wonder which key usage is required as there are many types that I can choose.

Note: I just need a self-signed certificate, not from trusted CAs.

1
  • Please be aware that accepted and required values may not only depend on technical definitions of options but also on profiles established by norms and legal contexts. Thus, also consider norms and laws applicable in the context of your signatures to be.
    – mkl
    Jul 2, 2021 at 16:14

2 Answers 2

2

You can use keyusage as "digitalSignature" only to create self-signed signing certificate for signing documents.

Additionally, you can add the following:

  1. keyUsage

    • nonRepudiation (Good to have, since CA add this in document signing certificate)
  2. extendedKeyUsage/EnhancedKeyUsage:

    • 1.3.6.1.4.1.311.3.10.3.12 (Microsoft Document Signing)
    • 1.2.840.113583.1.1.5 (Adobe Authentic Documents Trust)

For more information, you can refer below URL:

https://www.globalsign.com/en/repository/GlobalSign_DocumentSign_for_Adobe_CDS_CPS_v1.3.pdf

1

You can use Microsoft proprietary Document Signing EKU: https://www.alvestrand.no/objectid/1.3.6.1.4.1.311.3.10.3.12.html. For key usage you can use digitalSignature and optionally nonRepudiation.

Note: I just need a self-signed certificate, not from trusted CAs.

what is the point? The trust to your self-signed certificate must be established on every system where signature will be validated.

2
  • I'll just use a free Let's Encrypt certificate to sign documents as it is trusted and there is a digitalSignature usage there.
    – CHOO YJ
    Jul 1, 2021 at 7:19
  • I'm afraid, but Let's Encrypt doesn't offer code/document signing certificates. You can't use these certificates for document signing, you will have to use another (possibly) paid CA service.
    – Crypt32
    Jul 1, 2021 at 7:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .