tutorial: how to add https easy, free ,and forever

142 views
Skip to first unread message

Scott Harrison

unread,
Feb 3, 2016, 12:15:30 AM2/3/16
to Coronium IO
1. free domain. I recommend dot tk
if you have a few dollar get a domain at go daddy
2. get a host. I like free so I picked 1freehosting
you can pick who ever you want.
3. wait a few hours for every thing to be ready
4.  Set up a free cloud flare
you can pay, but the free option works
5. add the site you made into cloud flare
6. wait some time
7. switch out name servers with the ones cloud flare gave you (website will still work)
8. in your cloud flare panel go to dns and add record
name = is your subdomain you would like to use (cloud.example.com) IPv4 = ip of droplet or amazon server
9. and your all setup yourSubdomain.example.com
You can now flag your games for https

Note: https://yourSubdomain.example.com/admin may be buggy, just use http:// for admin

Video:

develephant

unread,
Feb 3, 2016, 9:25:18 PM2/3/16
to Coronium IO
This is fantastic Scott! Thanks for taking the time to write it up and share.

Cheers.

jeremiahflickinger

unread,
Feb 7, 2016, 5:11:59 PM2/7/16
to Coronium IO
Hi Scott,

I lost on step one, it's asking for details I'm not sure which to select. Do I use Dot TK's DNS, my own, do I put the DO droplet IP in the IP address field, etc?

Screenshot attached.

Thanks!
Jeremiah
Screen Shot 2016-02-08 at 9.07.45 AM.png

Scott Harrison

unread,
Feb 7, 2016, 5:19:26 PM2/7/16
to Coronium IO

Jeremiah Flickinger

unread,
Feb 11, 2016, 7:47:23 PM2/11/16
to Scott Harrison, Coronium IO
Thanks for the video Scott.

FYI - 1freehosting isn't working for me, getting stuck at the email verification stage. I've tried resending the email verification several times and not coming through. Not your problem but keeping me from following along with your steps.

Cheers,
Jeremiah


On Mon, Feb 8, 2016 at 9:19 AM, Scott Harrison <scottr...@gmail.com> wrote:

--
Learn more about the free Coronium Cloud at http://coronium.io
Free real-time Lua based game server at http://coronium.gs
Twitter: @coroniumio @coroniumgs @develephant
Site: http://develephant.net
---
You received this message because you are subscribed to a topic in the Google Groups "Coronium IO" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coroniumio/D7Rw9N3nhwI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coroniumio+...@googlegroups.com.
Visit this group at https://groups.google.com/group/coroniumio.
To view this discussion on the web visit https://groups.google.com/d/msgid/coroniumio/03bf1e3a-80cd-4026-83f5-757b671e8e76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Scott Harrison

unread,
Feb 13, 2016, 2:37:01 PM2/13/16
to Coronium IO
Sorry about late response but there are 100s of other free hosting. Here are a few:

10xhosting
byet.host
000webhosting

Thanks,
Scott

Jeremiah Flickinger

unread,
Feb 13, 2016, 6:12:19 PM2/13/16
to Scott Harrison, Coronium IO
No worries. Yeah, tried x10hosting over a couple of days ago. They don't have a place in the cPanel where you can change your name servers to the Cloudflare name servers.

I guess what would be a better question for me to ask, is why are we setting a separate website in order to secure the connection to our coronium server/droplet?

I don't under the bigger picture of how this works and why it works the way it does.

Cheers,
Jeremiah
> --
> Learn more about the free Coronium Cloud at http://coronium.io
> Free real-time Lua based game server at http://coronium.gs
> Twitter: @coroniumio @coroniumgs @develephant
> Site: http://develephant.net
> ---
> You received this message because you are subscribed to a topic in the Google Groups "Coronium IO" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/coroniumio/D7Rw9N3nhwI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to coroniumio+...@googlegroups.com.
> Visit this group at https://groups.google.com/group/coroniumio.
> To view this discussion on the web visit https://groups.google.com/d/msgid/coroniumio/2e7066cd-71db-454f-8a67-fee206dcbb29%40googlegroups.com.

Scott Harrison

unread,
Feb 13, 2016, 6:19:54 PM2/13/16
to Coronium IO
It is almost impossible to set up an https(ssl) with out a domain. Cloud flare has no limits and is free. If you plan to make apps for Apple this is almost required. If you use dot.tk you change the name severs on http://my.dot.tk/cgi-bin/login01.taloha

develephant

unread,
Feb 14, 2016, 6:45:04 PM2/14/16
to Coronium IO
Hi Jeremiah,

Just for my own reference, do you have the following:

A registered domain name (with whom?)
Generated certs via this page: http://docs.coronium.io/en/latest/devel/ssl/

These are 2 requirements for SSL. Once you have those, I can look further at any underlying issues.

You'll need a domain name before you can generate the proper certs.

Cheers.

develephant

unread,
Feb 14, 2016, 6:49:07 PM2/14/16
to coron...@googlegroups.com
Additionally, when setting up the domain, you'll want to use DO nameservers, if that's where you are hosting Coronium.



Cheers.

Jeremiah Flickinger

unread,
Feb 14, 2016, 8:05:15 PM2/14/16
to develephant, Coronium IO
Hi Chris,

Thanks for the follow-up.

Yes, I have several domains (more details on that below). And yes, I followed the tutorial you've provided (http://docs.coronium.io/en/latest/devel/ssl/) step by step. I got to all the way through the SSH commands and received a message saying it had successfully completed but still not getting an HTTPS connection.

Domain issues and misunderstanding:
I'm hesitant to use my "premium" domains (purchased through Namecheap.com), mostly out of ignorance because I don't know if using them for this might limit me from using them for other purposes in the future. So instead, I tried setting up a domain through my.dot.tk and x10hosting but never could get to the page or step that allowed me to point the name servers to DO.

I know how to do this through Namecheap, as I run a couple of websites through DO droplets that I purchased through Namecheap. I suppose I might just buy another domain through namecheap, just for this purpose. But in going through this, I realise how very little I know/understand about this whole process so I'm trying to back up a few steps and get a basic understanding. 

This is what I understand (or think I understand) so far:

  1. Apple's app transport security (ATS) policy requires data retrieved from online sources come from a secured source (ie https://... or SSL)
  2. Currently my coronium instance lacks the correct SSL certificate.
  3. SSL certificates are granted for a specific domain
  4. In order to get a certificate, you need to have a domain associated with your server (coronium instance)
  5. Any domain will work
  6. Once you have a domain, you need to point the name servers (DNS) to your coronium instance (in my case, this is a Digital Ocean droplet)
  7. Then you need to obtain an SSL certificate from a certificate authority for your domain
  8. Lastly, you need to save the SSL certificates on your server (DO/coronium instance)
Is the above correct?

I believe I'm getting confused on the part that requires Cloudflare. I guess Cloudflare acts like a middle layer and holds the SSL certificates?

Greatly appreciate all the help you and Scott have put into helping. Such a noob at this stuff.

Cheers,
Jeremiah


On Mon, Feb 15, 2016 at 10:49 AM, develephant <cbye...@develephant.com> wrote:
Additionally, when setting up the domain, you'll want to use DO nameservers, if that's where you are hosting Coronium.



Cheers.

On Sunday, February 14, 2016 at 5:45:04 PM UTC-6, develephant wrote:
Hi Jeremiah,

Just for my own reference, do you have the following:

A registered domain name (with whom?)
Generated certs via this page: http://docs.coronium.io/en/latest/devel/ssl/

These are 2 requirements for SSL. Once you have those, I can look further at any underlying issues.

You'll need a domain name before you can generate the proper certs.

Cheers.

--
Learn more about the free Coronium Cloud at http://coronium.io
Free real-time Lua based game server at http://coronium.gs
Twitter: @coroniumio @coroniumgs @develephant
Site: http://develephant.net
---
You received this message because you are subscribed to a topic in the Google Groups "Coronium IO" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coroniumio/D7Rw9N3nhwI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coroniumio+...@googlegroups.com.
Visit this group at https://groups.google.com/group/coroniumio.

For more options, visit https://groups.google.com/d/optout.

Scott Harrison

unread,
Feb 14, 2016, 8:16:13 PM2/14/16
to Coronium IO
This Google forums is confusing.
Yes on all the above. But cloud flare provides the ssl certificate for free.

Other message:
Yes cloud flare is the ssl part. I assuming you did it dot.tk. You don't change the name severs on the hosting, you change it on domain provider.
Here is how the request happens
Domain provider>cloud flare>host

Chris Byerley

unread,
Feb 14, 2016, 8:33:00 PM2/14/16
to Scott Harrison, Coronium IO
Hi,

@Scott RE: Google Groups - agree, I should probably get another forum setup. I was given a space on Coronas forums, but its pretty buried.

@jeremiah - Scott and I are suggesting two different methods (not to add to the confusion or anything :) ), so either will/should work (as evidenced with Scotts success).

I am going to run through Scotts process as well, because its sounds like a simpler solution.

The process currently documented is basically:

Have a domain
Get the certs
Upload certs
Run coronium-tools ssl on

I'll update the documentation with Scotts method as well, once I run through it.

Cheers.

--
Learn more about the free Coronium Cloud at http://coronium.io
Free real-time Lua based game server at http://coronium.gs
Twitter: @coroniumio @coroniumgs @develephant
Site: http://develephant.net
---
You received this message because you are subscribed to the Google Groups "Coronium IO" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coroniumio+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages