EUCA-8674: fix resource name matcher for server certificate