The install procedure above initially configures eagle-i with a self-signed certificate; this is acceptable for an  environment, but not for a  instance. In order to finalize the installation of a production instance, please follow the steps below.

1. Transfer certificate, certificate chain and private key to the EC2 instance

These files are security-sensitive. Please make sure they are transferred to you in a secure manner (e.g. a memory stick, or using the scp command) and delete them from your personal machine once they are installed. If in doubt, please ask for assistance of your IT department.

Obtain, from the person who purchased the certificate, the following files:

Assuming the files are located in a directory /my-home/aws/cert on your machine, here are two methods for securely transferring the files to your EC2 instance:

  1. Using a terminal
    1. SSH to your EC2 instance and create a directory for the files to reside in, /opt/eaglei/install.


      skc-macbook:~ sophia$ ssh -i "aws-eaglei-ami.pem"
      Last login: Wed Aug 10 13:19:32 2016 from
      [root@ip-172-31-54-208 ~]# mkdir /opt/eaglei/install
    2. In another terminal window, go to the directory containing the certificate files

      • cd /my-home/aws/cert
    3. Do a SCP of the files to the newly created install folder on your EC2 instance (substitute your own file names and public hostname)


      cd /my-home/aws/cert
      scp -i "aws-eaglei-ami.pem" key.pem cert.crt ca.crt
  2. Using PuTTY/PSCP
    1. Follow the instructions in the section Transferring files with PSCP at the end of the AWS/PuTTY guide

2. Install certificate on EC2 instance

In the SSH terminal,

  1. Go to the install directory created above
  2. Install the certificates
  3. At the prompt, enter the key's password. Tomcat will restart when the script is finished.

3. Verify certificate has been installed correctly

Using an online SSL validation service, such as, enter your public hostname to verify that the certificate has been installed correctly

4. Secure cleanup

Be sure to remove the security sensitive files used for installation

[root@ip-172-31-54-208 install]# rm ca.crt cert.crt key.pem