5 ms·
If you are just doing DIY stuff then you probably don't need the advanced features that are getting moved to HTTPS-only. Like getusermedia, or service workers,
by nothrabannosir 10y ago
If you are just doing DIY stuff then you probably don't need the advanced features that are getting moved to HTTPS-only.
Like getusermedia, or service workers, or webrtc?
Speak. For. Your. Self.
Precisely personal projects use these technologies. That's why they're personal projects; because I'm trying out new stuff.
Testing this from a phone emulator the other day i had to resort to inordinate hacks to access a web push test page on the host. How to https://10.0.2.2 https://10.0.2.2? It's not straightforward.
Im happy for it, it's worth it. but don't discount the effort it now takes.
Ps: "bitch about the costs of a certificate." --- I prefer to call it a valid complaint about an extortion racket, but I guess opinions differ.
- Spivak 10y ago> It's not straightforward. But it's no less straightforward than being your own CA in your dev environment and issuing a cert to any other name. There's no need to go through the hassle of getting a public cert for this use case.
- drvdevd 10y agoInteresting to note how important this is for developers to consider now. If we're going to move to an HTTPS only web, we need to both: 1) understand how CAs work (including how to be your own local CA) and 2) make this an easy or seamless process in terms of workflow. Granted, it's really not that difficult, but baking this into existing development environments will become a task many projects will need to repeat.
- voltagex_ 10y agoEven the "professional" development environments like Visual Studio aren't quite there. I've got a site at work that can only be run locally on one machine because VS won't issue the right certificate, and won't let me disable the SSL config.
- paulmd 10y ago> Precisely personal projects use these technologies. That's why they're personal projects; because I'm trying out new stuff. Again: set up a self-signed certificate and you can do anything you want. It's a test environment, it takes a single google search and less than ten minutes to figure out how to issue a CA cert, import it in Windows, and sign a server certificate. Then you never have to think about it again. Everyone always talks the talk about how they need to bake in security right from the start. Time to start walking the walk. If you don't use HTTPS-only features then go hog wild, otherwise you need to start thinking about how you are going to structure your application deployment to support HTTPS. After all - even Google learned the hard way that there's no such thing as a "local network" where it's appropriate to run plain HTTP connections. Remember "encryption removed here ;)"? Just encrypt everywhere, day one. One-time effort to set up a reverse proxy or a certificate doesn't really concern me that much, any more than the time it takes you to set up a Tomcat installation. Mostly this will be baked into Rails or your Maven archetype or whatever and you won't have to worry about it. > I prefer to call it a valid complaint about an extortion racket, but I guess opinions differ There's no "opinion" about it. A Let's Encrypt certificate costs nothing. They have to be extorting something from you before it's extortion.
- vog 10y ago> ... personal projects ... How to https://10.0.2.2 https://10.0.2.2? It's not straightforward. Just issue a self-signed certificate. How is this not straight forward? All you need is a single, well-known OpenSSL command: openssl req -x509 -newkey rsa:4096 -sha256 -nodes -keyout test.key -out test.crt -subj /CN=10.0.2.2 -days 3650
- sametmax 10y ago"Well known" is a bit of a stretch. Most dev don't know nothing about setuping SSL. Nothing. I'm not talking about new commers, students, interns, etc. No, no, no. I'ml talking about what's constitute the majority of the work force of IT. You are living in a bubble, ignoring most sites out there are not made by experts, but by people that knows a bit of PHP, HTML and CSS. As a Python dev on Linux that have to live in docker + lastJS fantasy environments, I understand why you think that, it's so tempting to ignore the reality when we are consedering that playing with new toys on HN FP is a way to relax. Except once a month I train professionals for as a side activity. People that have 20 years on as dev in multinationals, research centers, administrations, etc. And there is no way the command you list can be remotely considered "well known" by them. At the begining of the month, I just gave a Git training. 2 guys and a girl, working for years for a huge bank on the official website. They were still using CVS before arriving. I said CVS, not mercurial, bazaar, not even SVN. CVS. 2 of them never used the terminal of course (tortoise anyone ?), one never ever worked on a non windows machine in her life. Let that sink in.
- vog 10y ago> "Well known" is a bit of a stretch. With "well known" I meant that you can find it quickly on StackOverflow: http://stackoverflow.com/q/10175812 http://stackoverflow.com/q/10175812 And yes, I do think that researching and using this command is not too much to ask for - at least for people calling themselves "developers". Also, I'm pretty sure that the concepts behind HTTP+TLS are easier to learn than version control, or learning some new library or API you need for your next project. With "straight forward" I meant that it is a single command that works on any OS (given OpenSSL is installed), and not some complicated multi-step process involving third-party services etc.