Setting up https in AWS EC2 windows

671 views
Skip to first unread message

Ting Barrow

unread,
Jun 19, 2013, 1:37:59 PM6/19/13
to ra...@googlegroups.com
I'm new to Railo, hoping to switch to it instead of CF.

I have an AWS EC2 instance up and running fine with regular http, but need https.

Do I make my CSR from IIS or from Tomcat? If the latter, how do I do that? (Trying to run code from Google searches hasn't worked, as Java isn't there or maybe not where expected).

Once I get my cert, where does it go?

Many thanks.

James Kilford

unread,
Jun 21, 2013, 12:07:55 PM6/21/13
to ra...@googlegroups.com
You make a certificate request in IIS.  In the directory security section there's a nice wizard that will create a certificate request, then, subsequently, import the certificate when you get it back.  It's very simple. 

Apache Tomcat may also have such a feature, because you could use it as a web server, with an appropriate servlet, but I'm not sure about whether it does, or how it does it. 

123-reg, the domain registrar, has a variety of help documents on this topic -- Google this: 

site:123-reg.co.uk install secure certificate iis

and you'll find loads of documents on the subject covering various IIS versions, and lots of other systems too. 

HTH. 

James




--
Did you find this reply useful?  Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/ccaed96f-42d5-47b2-b740-d460074dd87b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



dgrabbe

unread,
Jun 21, 2013, 2:43:22 PM6/21/13
to ra...@googlegroups.com
Another option is to put the EC2 instance behind an elastic load balancer, and then install the certificate on the load balancer instead of IIS. The ELB then handles all the https processing (saving the web server from having to do it), and directs the requests to the EC2 instance as http instead of https. An added benefit of this is that if/when you need to add more EC2 instances for your application, you don't have to worry about setting up the certificate on each one -- once the ELB has it, you're all set.
 
David

James Kilford

unread,
Jun 21, 2013, 2:44:51 PM6/21/13
to ra...@googlegroups.com

Yes, this is my plan for the current project. Are there any gotchas?

Thanks,
James

--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.

Chris Blackwell

unread,
Jun 21, 2013, 3:40:26 PM6/21/13
to railo
I've been using ELB with SSL for a little while and haven't found any issues.
Works really well and keeps things simple in your backend servers


dgrabbe

unread,
Jun 21, 2013, 4:12:26 PM6/21/13
to ra...@googlegroups.com
Nope, no gotchas -- works like a champ once it is configured.
 
Here's how I did it:
 
David

Ting Barrow

unread,
Jun 26, 2013, 2:42:45 PM6/26/13
to ra...@googlegroups.com
Thanks all!


On Wednesday, June 19, 2013 1:37:59 PM UTC-4, Ting Barrow wrote:
Reply all
Reply to author
Forward
0 new messages