first implementation of certificate rest interface