ProviderAPI.getNewCert fixed in release.

Reproduced the refactoring done in debug.
Remove 2 unused methods.
Merge branch 'bug/JSON-error-when-updating-client-certificate-#6364' into develop
Merge branch 'develop' into release-0.8.0
0.8.0RC4