Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No HTTPS support #6

Closed
konklone opened this issue Feb 23, 2017 · 15 comments
Closed

No HTTPS support #6

konklone opened this issue Feb 23, 2017 · 15 comments
Assignees

Comments

@konklone
Copy link
Contributor

https://code.mil presents a certificate warning saying that it's not valid for the correct hostname, since GitHub Pages doesn't support HTTPS for custom domains.

Code.mil should terminate TLS separately, and either proxy from there to GitHub Pages (in the clear, but at least not part of user connections), or host the content yourselves. It's not like you're hosting an often-changing piece of content -- it's just a redirect instruction.

(You could probably set up a cloud.gov account pretty quickly if you wanted to, which supports automatic HTTPS for custom domains, but this isn't meant as a product pitch. HTTPS is just important.)

@BrandonBouier
Copy link
Contributor

BrandonBouier commented Feb 23, 2017

Thanks for the input! We'll take a look at it.

@tomberek tomberek self-assigned this Feb 25, 2017
@tomberek
Copy link
Contributor

@konklone : cloud.gov seems to work well: http://dds-codemil.app.cloud.gov and https://dds-codemil.app.cloud.gov

I've also been looking at the cloudflare, but I'm not sure what the rules are for that.

@shawoods shawoods removed the backlog label Feb 27, 2017
@seanenck
Copy link

the cloudflare that just had a huge leak that is a big deal unless you believe the company that just massively screwed up that everything is rainbows and happiness? I mean, I would hope that wouldn't be in the running here.

@konklone
Copy link
Contributor Author

I would still happily recommend CloudFlare to federal agencies. Their response was solid and they have a great track record of security.

However, proxying from CloudFlare to the origin in cleartext is un-ideal, so direct hosting would be better.

@andrewgdunn
Copy link

andrewgdunn commented Feb 27, 2017

might not want to forcibly design in a MITM, even if it solves and immediate problem it can lead to issues down the road.

edit: the DoD also has their own CA. It's not really the best way to garner support from the upstream community and I'd recommend against using it. A legitimate options would be seeking LE certs, but you'd have to have a termination endpoint someplace (that wasn't github).

@jordangov jordangov added this to the website launch milestone Oct 20, 2017
@jordangov
Copy link
Contributor

This is obviously a really old issue, but just as an FYI, we haven't lost site of this, but it's not going to happen for the current redirect. We're targeting this for the launch of the full code.ml website (soon ish).

@konklone
Copy link
Contributor Author

👍 As a note, DoD recently authorized the use of DV commercial certificates, which could make it easier to obtain a quick-and-dirty cert and get it in place.

@jordangov
Copy link
Contributor

Yep, we're working with the policy folks to make this a reality. Not quite there yet, but close (we think).

@lukefretwell
Copy link

Go @konklone! :-)

Any update on resolving this?

@konklone
Copy link
Contributor Author

konklone commented Feb 9, 2018

Note -- Let's Encrypt now supports .mil certificates:
letsencrypt/boulder@dae0e4e

You can see one in action already by the Navy (through a GSA shared service, Search.gov, that issues them for custom domains):

https://search.navy.mil/search?query=boats&btnG=%C2%A0&utf8=%E2%9C%93&affiliate=navy_all

@hlieberman-gov
Copy link

hlieberman-gov commented Feb 9, 2018 via email

@konklone
Copy link
Contributor Author

@hlieberman-gov I don't see it on my phone - is it only on code.mil but not www.code.mil?

@konklone
Copy link
Contributor Author

To answer my own question, it looks like yes - the only cert for code.mil lacks the www SAN: https://crt.sh/?id=326566888

@jordangov
Copy link
Contributor

This. Is. Live.

HTTPS://code.mil
(and HTTPS://www.code.mil)

Big thanks to @hlieberman-gov.

@konklone
Copy link
Contributor Author

Congrats, all! 🎉

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

No branches or pull requests

9 participants