Once the certificate property is set, use the onlineLogin() API with no parameters (do not use the onlineLogin() API with username and password).
MyPackage_MyPackageDB onlineLogin(); // Handle login response MyPackage_MyPackageDB subscribe;