Flash post: “Site identity not verifiable”:

This is meant to be a flash post and a relief for someone that, like me, has to test the website on different mobile phones.
I’ll omit the software version because not pertinent to the problem or the solution.

I had to test a website on different mobile devices and Blackberry z10 kept returning a Certificate Exception like “my certificate has expired” and the following error

Site identity not verifiable

Not verified? What?
I’ve tested the website on VM, with User Agent switchers and on different Z10!!

So, recalling an oversimplification of the Occam’s Razor,

The simplest answer is most often correct

and digging a bit into the web, the solution I found was quite simple and based on the Date/Time used to validate the Certificate Expiration Date.

These are the steps to fix the problem (if we can use “fix” and “problem”):

1. Open the phone Settings
2. Select Date and Time option
3. Set Set Date and Time Automatically to Off
4. Set manually the Date and Time
5. Done

The validation of the certificate was incorrectly done on the phone Date/Time but, more important, the Automatic Date/Time setting didn’t work properly on my device.
Following these steps the website will not return the error any more.
An easy solution to an easy problem but often the last thing you think about.

RESTful client-server with MVC Design Pattern

Few months ago I’ve created a Service Oriented Architecture from scratch using the MVC paradigm.
The API is based on three parameters to demonstrate you can create your own with as many parameters you prefer*.



  1. {category}
    The value ‘book’ is the only available for this parameter

  2. {keyword}
    Any string, any keyword for the book search

  3. {pub_year}
    The published year in the following format 0000

For example, with the following request you’ll get all the books with “RESTful” in the title and with publish year “2014”


Continue reading