add support for supplying only certificate name on set credential