Skip to content

Guidance Needed: Using AWS CloudHSM for Document Signing Solution

0

Hi Team,

We are building a document-signing solution similar to DocuSign and Adobe eSign, and are exploring AWS CloudHSM to securely host and manage our signing certificates.

If anyone in the community has experience using CloudHSM for digital signing workflows, we would appreciate your guidance on the following points:

Best practices for hosting and using signing certificates on AWS CloudHSM

Typical performance benchmarks (signing speed, latency, throughput)

Architecture recommendations for high-volume document-signing operations

Any limitations or challenges faced during implementation

Is an EC2 instance required to use CloudHSM for signing operations?

Will CloudHSM prompt for a password, or require manual password input during certificate usage, or can this process be fully automated programmatically?

Any insights, experiences, or relevant documentation links would be extremely helpful.

Thank you in advance for your support!

Regards, Yuvraj Gautam

asked 9 months ago204 views

4 Answers
1

Hey,

Hope you're keeping well.

For a high-volume document signing solution, CloudHSM is well-suited for securely storing and using private keys, but you’ll want to design around its network-based API model. Typically, your signing operations run from an EC2 instance or container in the same VPC, using the CloudHSM client to communicate with the cluster. Authentication can be fully automated using application code with pre-configured credentials, so there’s no manual password prompt in production.

Thanks and regards,
Taz

answered 9 months ago

1

Hey,

Hope you're keeping well.

CloudHSM is a good fit for securely managing signing keys, but you’ll need to architect for its network-based access model. Your application typically connects via the CloudHSM client from an EC2 instance or container in the same VPC to perform signing operations. You can automate authentication using pre-provisioned crypto users so no interactive password entry is required in production. For high throughput, deploy multiple HSMs in the cluster and use client-side load balancing to spread requests. AWS docs on “Using CloudHSM for digital signatures” and “Best practices for CloudHSM clusters” are worth reviewing for performance tuning and integration patterns.

Thanks and regards,
Taz

answered 9 months ago

1

Hi, some answers inline, hope it helps

Best practices for hosting and using signing certificates on AWS CloudHSM

  • Only keys are stored in CloudHSM
  • Certs are stored in the certstore of your systems.
  • For example in MS windows, older CloudHSM SDKs versions (3.x) would create "key reference files" in your systems to represent the keys stored in the HSM to allow the provider (KSP) to interact with the keys. Your systems will be blind to the fact that the keys are not local btw
  • Newer SDK versions (5.x) dont need "key reference files" and the provider can interact directly with the keys stored in the HSM
  • https://docs.aws.amazon.com/cloudhsm/latest/userguide/client-sdk5.html

Typical performance benchmarks (signing speed, latency, throughput)

Architecture recommendations for high-volume document-signing operations

Any limitations or challenges faced during implementation

  • Avoid the use of "$" signs in your crypto users passwords. MS systems might interpret everything to the right of it as a variable

Is an EC2 instance required to use CloudHSM for signing operations?

Will CloudHSM prompt for a password, or require manual password input during certificate usage, or can this process be fully automated programmatically?

AWS

answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.