SSL Certificates are free for all AWS clients. From the command line using terminal, locate your Ruby on Rails main directory of your App.

> cd /roo/app

Install AWS CLI command line if not installed usign your Mac OSX:
> pip install --upgrade --user awscli

Execute the requested for the desired domain that you would like to request an SSL.
> aws acm request-certificate --domain-name www.example.com

copy the arn code:
exaple: arn:aws:acm:us-west-2:200000000002:certificate/b32d2453-4ddds-f221-4532-12g32113b32b

> cd /roo/app
> touch elb-acm.json
> vim elb-acm.json

add:

[
{
  "Namespace" : "aws:elb:listener:443",
  "OptionName" : "ListenerProtocol",
  "Value" : "HTTPS"
},
{
  "Namespace" : "aws:elb:listener:443",
  "OptionName" : "SSLCertificateId",
  "Value" : "arn:aws:acm:us-west-2:200000000002:certificate/b32d2453-4ddds-f221-4532-12g32113b32b"
},
{
  "Namespace" : "aws:elb:listener:443",
  "OptionName" : "InstancePort",
  "Value" : "80"
},
{
  "Namespace" : "aws:elb:listener:443",
  "OptionName" : "InstanceProtocol",
  "Value" : "HTTP"
}
]

Make sure to included your arn value.

Final step is to execute the Certificate by locating the local path of your elb-acm.json make sure to included in command line file:///Users/

> aws elasticbeanstalk update-environment --environment-name name-of-app --option-settings file:///Users/name/some-directory/app/elb-acm.json

all done