Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Distrusting StartCom Certificates #98

Closed
supcik opened this issue Mar 11, 2017 · 20 comments
Closed

Distrusting StartCom Certificates #98

supcik opened this issue Mar 11, 2017 · 20 comments
Assignees
Labels
Milestone

Comments

@supcik
Copy link

supcik commented Mar 11, 2017

The certificate for the hub has been issued by StartCom. It is still valid and it works fine, but we might have to change soon: Distrusting WoSign and StartCom Certificates

@Splaktar Splaktar added this to the v0.3.0 milestone Mar 11, 2017
@Splaktar
Copy link
Contributor

Chrome M57 just started rolling out to the stable channel. This breaks our Hub certificate for both the Hub and Firefly (which uses the Hub API).

@Splaktar Splaktar self-assigned this Mar 17, 2017
@Splaktar Splaktar added the bug label Mar 17, 2017
@Splaktar
Copy link
Contributor

@Splaktar
Copy link
Contributor

We just got the StartSSL certificate on September 9th as part of #91 and it's already useless :(

@Splaktar
Copy link
Contributor

I think that I’m just going to take @aleborba up on his offer and get a valid, paid, wildcard cert for gdgx.io from GoDaddy.com.

Wildcard is $300 per year, but the proper level of security that we should have is actually the $400 per year level. Ugh. Not cheap. Other option is separate certificates for hub.gdgx.io and api.gdgx.io for $70 per year and more hassle if we want to add chat.gdgx.io or www.gdgx.io again.

Unfortunately Let’s Encrypt is not yet well supported in GCP (work in progress).

@VikramTiwari
Copy link
Member

I saw GAE's issue for LetsEncrypt being assigned to someone today. Though it might be a while before that is out even in beta. Why not host on GCE until then? I would have suggested k8s but using a cluster would be too much as of now.

@Splaktar
Copy link
Contributor

You are suggesting that we continue to host on GCE now so that we can use Let's Encrypt? That would require manually refreshing the certificate every 15-30 days which isn't possible due to my availability being very low atm.

@VikramTiwari
Copy link
Member

haha Should have looked at issues queues earlier. If it's on GCE, I can setup Let'sEncrypt cert there. Let's take this to hangouts and discuss there.

@Splaktar
Copy link
Contributor

If we can generate the cert there and then use it on App Engine then that would buy us 30 days. But I really want to get the Hub off of GCE ASAP due to a number of reasons related to higher maintenance time/cost.

@VikramTiwari
Copy link
Member

Hmm.. I am taking a look into project and will try to streamline any such issue. If you could add me to the project (on google cloud) I can start on it right now.

@Splaktar
Copy link
Contributor

Setup CloudFlare for a temporary solution, but it's not working so far... Hub is offline due to DNS.

@Splaktar
Copy link
Contributor

CloudFlare doesn't seem to work well with the way that GCP and Google Domains do things. It broke a ton of stuff and didn't provide any value at all. I've paused it and moved the Google Domains DNS back to Google Nameservers.

@Splaktar
Copy link
Contributor

GlobalSign never did get back to me after weeks of asking and them promising me that they would send over the free cert for open source.

Since I haven't heard back from Ale, I just requested a free cert from GoDaddy for open source again. Hopefully they are more responsive. Last time their cert worked great for a year.

@VikramTiwari
Copy link
Member

@Splaktar I can setup LetsEncrypt faster than that.

@BrockMcKean
Copy link

@VikramTiwari @Splaktar +1 LetsEncrypt

@VikramTiwari
Copy link
Member

Hub is up on HTTPs with LetsEncrypt Cert! Yay! :)

It will also auto update the certs before they get invalidated, but if it encounters any errors, we will debug it then.

@Splaktar Closing. Reopen if there's anything else we should be addressing.

@Splaktar
Copy link
Contributor

DNS has been updated to point directly to the single GDG-X Hub GCE instance.
Hub load balancer and startssl certificate have been deleted.

@Splaktar
Copy link
Contributor

@VikramTiwari Thanks! I see the cert in action now.

Can you please add some documentation to this issue about how you setup Let's Encrypt? I.e. if someone else had to set it up again on a new VM, do you have the steps for doing that handy?

@VikramTiwari
Copy link
Member

@Splaktar Sure! It's already on a different branch (feature/vikram/cleanup). If you want I can fork from current develop or master and update.

Ref: https://github.com/gdg-x/hub/tree/feature/vikram/cleanup/backend/docs

@Splaktar
Copy link
Contributor

@VikramTiwari Great! Fork from develop please.

@Splaktar
Copy link
Contributor

screen shot 2017-03-21 at 1 07 55 pm
screen shot 2017-03-21 at 1 07 47 pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants