News for hackers. Stuff that matters.
Re:Parse is down due to SSL certificate expiry by seiji on Monday September 10, 2012 @10:19AM (#4499872)
Do yourself a favor and run this nightly: http://prefetch.net/code/ssl-cert-check

A simple loop over your certs will solve so many problems:

  cd ssl/certs; for pem in *.pem; do ssl-cert-check -a -x 15 -e [email protected] -q -c $pem; done
[imagine a grumpy "silly companies with millions of dollars in funding, no actual processes, and too little systems knowledge" rant here. it's like a racecar driver who's team lets him run out of petrol every two laps. this is basic stuff, kiddies.]
Re:Parse is down due to SSL certificate expiry by peterwwillis on Monday September 10, 2012 @11:05AM (#4500157)
I recommend doing the test against the live SSL server. Accidents happen, and sometimes webservers get configured with a different SSL cert than you have in /etc/ssl/certs/. Heck, i've seen orgs with a whole slew of certs created in their issuer's domain management page, and none of them were ever applied to the server. Nobody would know the certs loaded in the webserver were bad until they get a page error.
Re:Parse is down due to SSL certificate expiry by notaddicted on Monday September 10, 2012 @10:31AM (#4499952)
Also, the nagios monitoring "check_http" will check the time to expiry of HTTPS certificates, and warn you when you have 30 days left. http://nagiosplugins.org/man/check_http
Re:Parse is down due to SSL certificate expiry by vegardx on Monday September 10, 2012 @10:41AM (#4500025)
I would recommend checking all certificates on every host locally too, as you then can catch other than HTTP certificates too, like IPSec and OpenVPN. I found a good plugin on GitHub that does just this. If you then just put your certificates in the proper directory you can have them all checked and monitored by Nagios. I use nagios check_http to verify that a page is actually serving content via SSL.

https://github.com/kumina/nagios-plugins-kumina/blob/master/...

Re:Parse is down due to SSL certificate expiry by gizmogwai on Monday September 10, 2012 @10:31AM (#4499956)
I wish it was only an issue that occurs in such cases. Unfortunately, this kind of stupidity happen TWICE in a row in a company I worked for previously. The developpers told the manager litterally MONTHS ago, but it was just not considered as important enough. (Eh, if I click on "Approve" it works, so what the big deal?!)
Re:Parse is down due to SSL certificate expiry by ses on Monday September 10, 2012 @10:15AM (#4499842)
It's an important reminder that most startups are run by a handful of people who are normal, fallible human beings. They generally don't have access to the infrastructure and manpower required to be on the ball and maintain near 100% uptime of their services. I think the important information to be gleaned about a company is how they deal with problems like this (not necessarily the fact that they encountered the problem in the first place - if that is of concern, pick a more established organisation).

Also another issue, which probably doesn't apply to Parse is limited funding. One of my own venture's certificates has now expired and as a 'bootstrapped' web app, I simply can't justify spending more to renew the certificate. However I keep the service live as a demo to potential customers, if one takes a very keen interest I will happily renew it, or seek further funding.

Re:Parse is down due to SSL certificate expiry by CoreDev on Monday September 10, 2012 @10:19AM (#4499874)
This sounds true, but there is always something called calendar for important things which will expire.

I have a own calendar just for expire dates of software and certificats. My reminder is set to 2 months before the event.

Re:Parse is down due to SSL certificate expiry by leftnode on Monday September 10, 2012 @10:44AM (#4500046)
But certificates cost almost nothing these days, why not just spend the $20-$40 and get a valid one in there?
Re:Parse is down due to SSL certificate expiry by neya on Monday September 10, 2012 @10:19AM (#4499875)
This is why I think its always good to build your apps in the 'Good old way', instead of relying on a third party like Parse. It becomes a bottle-neck in situations like these, where in you are kind of stuck - Either, you will have to re-write your code from scratch, or wait for them to fix it, with a lot of uncertainty.
Re:Parse is down due to SSL certificate expiry by leftnode on Monday September 10, 2012 @10:33AM (#4499968)
Is there any value in companies like Parse selling their software as installable on your own servers (i.e., GitHub Enterprise).

I ask, rhetorically, because I built a somewhat competing service that isn't doing too well and I'm looking to make it so you can install it on your own servers.

Re:Parse is down due to SSL certificate expiry by neya on Monday September 10, 2012 @10:42AM (#4500029)
Your best bet would be to follow the OpenX model - Release a community friendly version of your software that anyone could install on their servers, (would be good if it was open source; not necessarily free though) and also at the same time, target the Enterprise guys with a hefty premium plan, by offering a hosted service,with some extra features and with Service uptime Guarantees. I see no reason why you wouldn't be hitting the gold pot, this way.
Re:Parse is down due to SSL certificate expiry by campnic on Monday September 10, 2012 @10:38AM (#4499998)
Yes. I think that is a useful business. If you could make a system that was scalable and provided an API like parse that sounds like something interesting. Have virtual machine images you can host. The hard part would be figuring out how to simplify scaling it out. That is one really nice thing about hosted solutions. I can forget the IT. I'd be happy to work in a middle ground where i traded the IT effort for additional control/changes/features.
Re:Parse is down due to SSL certificate expiry by leftnode on Monday September 10, 2012 @10:45AM (#4500052)
Well I think as this issue with Parse shows, you can forget about the IT until you can't. If your app is down due to a mistake like this, it's even more frustrating because you have so little control on the situation.
Re:Parse is down due to SSL certificate expiry by jagbolanos on Monday September 10, 2012 @12:39PM (#4500652)
It would be valuable for me.

We have a product that relies heavily on Parse. The model is a white labeled solution. We currently have a potential client that wants to host everything and we are kind of stuck with Parse. I could simply charge more if there was a customer hosted solution.

Re:Parse is down due to SSL certificate expiry by kordless on Monday September 10, 2012 @10:31AM (#4499959)
The devil you know, right?
Re:Parse is down due to SSL certificate expiry by kogir on Monday September 10, 2012 @10:48AM (#4500072)
Hint: the web is one thing, but if you're deploying a library that talks to your own server, consider embedding your own root certificate. In addition to verifying the traffic isn't being proxied[1], you can also issue 10 or 20 year certs and be done.

[1] Users can add their own root certs and watch your traffic (typically with the intent of breaking your app), or worse, companies can deploy roots to all their devices and sniff their employees' traffic. Why be complicit?

Re:Parse is down due to SSL certificate expiry by j_s on Monday September 10, 2012 @01:39PM (#4500956)
If you have your own cert, wouldn't it be best to ignore expiration (and decide based on risk whether or not to implement revocation)? Unless you are saying to add the cert to the device/computer's list of trusted certs, which doesn't seem necessary to me.

All of Google's pinned certs are certainly evidence that this is a reasonable approach (I haven't looked at their expirations), though now it's kind of weird since it can't be MitM'd even to debug -- no one knows what is being shipped off to Google by Chrome anymore without reverse engineering binaries.

Re:Parse is down due to SSL certificate expiry by sk5t on Monday September 10, 2012 @02:36PM (#4501328)
Issuing inordinately long-lived certificates might not be the best security decision. To put it another way, "infinity" is not the appropriate lifetime for a 4096-bit cert.
Re:Parse is down due to SSL certificate expiry by peterwwillis on Monday September 10, 2012 @10:58AM (#4500125)
For a big org, SSL certs can sometimes be a bitch to manage. I recently started a project to track all the SSL-enabled devices on our medium-sized network, and it came out to something in the low four-digits. As you might assume, not all of them are CA-signed, and many of them expire without anyone ever realizing it.

I wrote a couple scripts to manage bulk-checking SSL certs on a network. One of them uses Curl's Mozilla root CA .pem file and follows the chain to verify a cert is really signed and not expired. https://github.com/psypete/public-bin/tree/public-bin/src/ne...

Re:Parse is down due to SSL certificate expiry by stevencorona on Monday September 10, 2012 @10:13AM (#4499833)
It costs $100 for a 5 year SSL certificate. Why do seemingly smart internet companies let this happen?
Re:Parse is down due to SSL certificate expiry by michaelt on Monday September 10, 2012 @10:39AM (#4500012)
Well, it's a 1 year wildcard certificate from DigiCert, which costs $595 according to [1] - while their 3 year certificate costs $1425.

That's quite a bit of cash when you're a small business - and your minimum viable product doesn't need a 5 year cert, you just have to remember to renew your cert if you're still in business after a year...

[1] http://www.digicert.com/wildcard-ssl-certificates.htm

Re:Parse is down due to SSL certificate expiry by consultutah on Monday September 10, 2012 @10:18AM (#4499868)
Because they are new, have never run into this problem before, and are bootstrapped to the hilt. At least you know they'll never let it happen again. ;-)
Re:Parse is down due to SSL certificate expiry by bwhalley on Monday September 10, 2012 @10:21AM (#4499888)
They're not bootstrapped, they're a yC/Ignition Partners funded company.
Re:Parse is down due to SSL certificate expiry by whalesalad on Monday September 10, 2012 @10:18AM (#4499870)
Where the hell are you buying your certs? I'd honestly love to know.
Re:Parse is down due to SSL certificate expiry by saurik on Monday September 10, 2012 @10:21AM (#4499894)
I get SSL certificates from Servertastic. They are a RapidSSL reseller, whom in turn sell rebranded GeoTrust certificates. The result is that you get "the same thing" (by the end of the payment process you are filling out forms being served by GeoTrust's servers) for $13.95/yr.
Re:Parse is down due to SSL certificate expiry by stevencorona on Monday September 10, 2012 @10:29AM (#4499942)
Namecheap or SoftLayer (where I host my servers) unless I need something fancy like EV or Wildcard (in which case, you're gonna have to pay).
Re:Parse is down due to SSL certificate expiry by imperialWicket on Monday September 10, 2012 @10:41AM (#4500023)
I've only had a couple situations where I needed enough subdomains to warrant the wildcard cert. $10/yr for RapidSSL through namecheap, most wildcard certs are at least 100-ish; I usually only need 5-6 subdomains and it's cheaper to just buy all the single certs at $10 each.
Re:Parse is down due to SSL certificate expiry by j_s on Monday September 10, 2012 @01:43PM (#4500987)
NameCheap resells domain-validated (basically, email the webmaster) Comodo PositiveSSL for $50/5 years.

http://www.namecheap.com/ssl-certificates/comodo/positivessl...

Re:Parse is down due to SSL certificate expiry by xoail on Monday September 10, 2012 @10:47AM (#4500063)
I started using Parse for my app and as I code I am starting to realize how painful it will be to move away from it in future. It would mean a complete rewrite of the app. Now, if they have problems like these (down due to certificate expiry), I am not sure what value I will get out from this service. Also, it is taking more time for me to learn their SDK than I thought, as I am beginning to write complex queries and relations. I encourage people to write data services on their own.
Re:Parse is down due to SSL certificate expiry by jordantbro on Monday September 10, 2012 @10:17AM (#4499863)
No mention of the issue on their Twitter account or self-proclaimed "Status" page:

http://status.parse.com/

Re:Parse is down due to SSL certificate expiry by meritt on Monday September 10, 2012 @10:40AM (#4500018)
It's on there now as of 7:39am PST
Re:Parse is down due to SSL certificate expiry by TazeTSchnitzel on Monday September 10, 2012 @10:44AM (#4500041)
There is now.
Re:Parse is down due to SSL certificate expiry by csmajorfive on Monday September 10, 2012 @10:25AM (#4499914)
We're working on it.
Re:Parse is down due to SSL certificate expiry by kordless on Monday September 10, 2012 @10:33AM (#4499973)
Been there. It sucks. FWIW, I recommend Zerigo monitoring for certs, and other various bits of web monitoring you might need.

Take a few minutes to update your Twitter feed.

Re:Parse is down due to SSL certificate expiry by csmajorfive on Monday September 10, 2012 @11:49AM (#4500377)
We're back up. We'll post more about the root cause soon.
Re:Parse is down due to SSL certificate expiry by yuhong on Monday September 10, 2012 @11:38AM (#4500318)
They just fixed it. FYI, in case you did not look at the certificate details, the old certificate expired 5AM today.
Re:Parse is down due to SSL certificate expiry by zmitri on Monday September 10, 2012 @11:43AM (#4500347)
Working now for me! 3h42m downtime :(
Re:Parse is down due to SSL certificate expiry by yuhong on Monday September 10, 2012 @03:44PM (#4501801)
And I am in the GMT-8 time zone and used Firefox.
Re:Parse is down due to SSL certificate expiry by zmitri on Monday September 10, 2012 @09:22AM (#4499602)
Put this up with hope that someone here can contact them. They aren't responsive to twitter or emails.
Re:Parse is down due to SSL certificate expiry by neya on Monday September 10, 2012 @10:03AM (#4499775)
Now, imagine the plight of all their customers who had built their apps based on their APIs. Hopefully, this is a very good lesson for all.
Re:Parse is down due to SSL certificate expiry by dedene on Monday September 10, 2012 @10:06AM (#4499791)
Indeed... we just finished our app building on Parse, but this and last week make me think hard about whether or not it was a good decision to be dependent on their infrastructure.
Re:Parse is down due to SSL certificate expiry by zmitri on Monday September 10, 2012 @10:27AM (#4499930)
I used it to speed up the iOS dev on http://www.backspac.es as I had no experience with iOS but lots of backend experience.

Honestly, they have a lot of downtime, and now that I am very handy with iOS/obj-c I plan to migrate off.

Re:Parse is down due to SSL certificate expiry by hiddenstage on Monday September 10, 2012 @10:11AM (#4499821)
For a company based around being convenient, they sure have been inconvenient as of late.
Re:Parse is down due to SSL certificate expiry by freehunter on Monday September 10, 2012 @10:11AM (#4499823)
In my line of work, I see this a lot (both expired and using a cert on a subdomain the cert isn't valid for). It gets really difficult trying to balance security with the needs of the business when employees are begging me to whitelist the site so it isn't blocked by the corporate proxy but I really don't want to whitelist invalid certificates. That sets a bad precedent.

There really should be another way that doesn't involve SSL certificates.

Re:Parse is down due to SSL certificate expiry by hoffmanc on Monday September 10, 2012 @10:42AM (#4500030)
This is a testament to the dangers of relying on third-party APIs to provide core functionality for your app.
Re:Parse is down due to SSL certificate expiry by pallinder on Monday September 10, 2012 @10:21AM (#4499890)
Yeah we are also seing issues. Fortunately we arent using them on that many places so should be fine anyway but my god this is a silly mistake to do.
Re:Parse is down due to SSL certificate expiry by xoail on Monday September 10, 2012 @11:26AM (#4500252)
On average, how much time does it take to renew the certificate and bring it back online?
Re:Parse is down due to SSL certificate expiry by bwhalley on Monday September 10, 2012 @10:04AM (#4499782)
This combined with their downtime episodes last week... Think twice before using.