fix missing provider's cert after registration