简体   繁体   English

使用AWS作为证书存储

[英]Using AWS as certificate store

I have an application that generates PDF documents and sign them. 我有一个生成PDF文档并对其签名的应用程序。 The signature requires a certificate. 签名需要证书。

I would like to avoid certificate management headache (securing storage, access, etc). 我想避免证书管理的麻烦(确保存储,访问等)。 Therefore, I wonder if it possible to use AWS ACM for that? 因此,我想知道是否可以为此使用AWS ACM? For example, loading the certificate from ACM at application startup. 例如,在应用程序启动时从ACM加载证书。

In AWS ACM documentation, I see there is a Java SDK that allows me to get a certificate remotely. 在AWS ACM文档中,我看到有一个Java SDK可让我远程获取证书。 However, I'm not sure if it also includes the private key which I need to sign the PDF documents. 但是,我不确定它是否还包含我需要签署PDF文档的私钥。

ACM does not allow you to access the private key of your certificates. ACM不允许您访问证书的私钥。 Only ELB, ALB, and CloudFront have access to the private keys. 只有ELB,ALB和CloudFront可以访问私钥。 So it's not a fit, here. 所以这不适合。

EC2 Systems Manager Parameter Store should provide exactly what you need, though. 不过,EC2 Systems Manager参数存储应提供您所需要的。

It is a hierarchical key/value encrypted store where each "parameter" (value) is (optionally) encrypted at rest. 它是一个分层的键/值加密存储,其中的每个“参数”(值)(可选)都处于静止状态。 IAM permissions allow granular access control to specific parameters. IAM权限允许对特定参数进行精细的访问控制。 The values can be up to 4096 characters, each, the hierarchy supports 5 levels, and has nice compliance controls. 该值最多可以包含4096个字符,每个层次结构支持5个级别,并具有良好的合规性控件。 If you change a parameter, it automatically tracks when and who made the change. 如果更改参数,它将自动跟踪进行更改的时间和对象。

The parameter store is available regardless of whether you are actually using anything else in EC2 Systems Manager. 无论您是否实际在EC2 Systems Manager中使用其他任何功能,参数存储都可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 AWS Secret Manager 中存储 jks 证书 - How to store jks certificate in AWS Secret Manager 我可以使用证书存储中的现有证书对JAR文件进行签名吗? - Can I sign JAR files using existing certificate in certificate store? Android 应用程序使用 X.509 证书连接到 AWS IoT - Android app to connect to AWS IoT using X.509 certificate 如何使用 Aws ELB 使用 SSL 证书保护 Spring 云网关 - How to secure Spring Cloud Gateway with SSL certificate using Aws ELB 使用Java将Windows存储中的证书导出到p12文件 - Export certificate in windows store to a p12 file using Java 使用已安装的 java 密钥库证书连接到 ldap - Using installed java key store certificate to connect to ldap 使用基于Java Key Store别名的单个证书 - Using a single certificate based on aliases from Java Key Store 如何使用 java AWS lambda 将文件存储到 AWS S3? - How to store files to AWS S3 using java AWS lambda? 如何使用 Java 以编程方式将证书安装到 windows 个人证书存储区? - How do I programmatically install a certificate to the windows personal certificate store using Java? 使用 Log4J appender 在 AWS Cloudwatch 中存储应用程序日志 - Store app logs in AWS Cloudwatch using Log4J appender
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM