l33t
l33t

Reputation: 19937

SSL certificate for REST web services (used by Android)?

I have a website with a number of RESTful web services that are used by an Android app. I want to let all requests go through HTTPS. Hence, I need an SSL certificate for my website.

Q: Do I need to buy an SSL certificate or can I use a self-signed certificate in this case? (I don't want to waste money on something I don't need.)

I can think of these approaches:

  1. Buy an SSL certificate with Extended Validation (green address bar). Probably not necessary.
  2. Buy an SSL certificate without Extended Validation. This should suffice, no?
  3. Self-sign an SSL certificate. Not sure what this implies?

Upvotes: 9

Views: 2549

Answers (1)

Matt Glover
Matt Glover

Reputation: 1347

If your biggest concern is not spending money http://www.startssl.com/ provides free basic SSL certificates for a year so that may be worth looking into. I do not know off-hand which CAs are trusted by default in Android so it may turn out to be effectively the same as a self-signed certificate from the app's perspective.

Using a self-signed certificate would require finding a way to make sure the Android app expected that self-signed certificate and trusted not only your initial certificate but any replacement certificates in the future. I suspect this is more trouble than it is worth although I do not know much about Android development or the app in question so I may be overestimating the difficulty involved.

An EV certificate does provide a stronger guarantee to the client that the service is actually your service and owned by you but it does incur additional costs. Choosing an EV versus DV certificate becomes more of a risk/reward judgement call. Annecdotally, I typically only see EV certificates on financial sites and others where you would typically expect to find a high bar for security.

Upvotes: 4

Related Questions