build certificates plugin