Search code examples
certificatecsraws-certificate-manager

Can we automate signing request of CSR generated by ACM?


Using AWS ACM Cert authority, I have created a CSR for subordinate CA following this step.


I further need to sign the CSR(as mentioned below):

enter image description here

Currently we do not have any infrastructure to sign the CSR using root CA's private key. We currently have root CA from Entrust.

Goal is to automate this signing request using acm sdk

How to proceed further on signing the CSR with this root CA's private key?


Solution

  • I strongly advise you to get someone who understands PKI to set up an internal certificate authority for you.

    You can sign a CSR using openssl. Here is an example command.

    openssl ca -config intermediate/openssl.cnf \
          -extensions server_cert -days 375 -notext -md sha256 \
          -in intermediate/csr/www.example.com.csr.pem \
          -out intermediate/certs/www.example.com.cert.pem
    

    Here is a link to an example openssl.cnf:

    http://web.mit.edu/crypto/openssl.cnf