Skip to content

aniruthmp/demohsm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HSM Instructions

  1. Create HSM cluster
  2. Once cluster is done, update its security-group to public (0.0.0.0) from custom
  3. create HSM
  4. download all the 4 certificates
  5. Sign the CSR
$ openssl genrsa -aes256 -out customerCA.key 2048

$ openssl req -new -x509 -days 3652 -key customerCA.key -out customerCA.crt

$ openssl x509 -req -days 3652 -in <cluster ID>_ClusterCsr.csr \
                              -CA customerCA.crt \
                              -CAkey customerCA.key \
                              -CAcreateserial \
                              -out <cluster ID>_CustomerHsmCertificate.crt
  1. Upload the newly created cluster-noilmsndo4r_CustomerHsmCertificate.crt file and customerCA.crt to initialize the cluster

  2. You must set the cluster password using CloudHSM before you can use the Cluster. Refer (https://docs.aws.amazon.com/cloudhsm/latest/userguide/activate-cluster.html)

  3. https://docs.aws.amazon.com/cloudhsm/latest/userguide/java-library-install.html

    • Run info server 0 to get the partiton
  4. Check the SpringBoot app now

sshuttle -r ec2-user@ec2-3-89-65-5.compute-1.amazonaws.com 172.31.80.88/32 -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published