As described in the issue #3123 the certificate endpoint throws an exception when a request is made to create the certificate. Fixes #3123