Hi @joaovrodrigues,
Have you tried creating certificate using this definition manually and all object is being created properly?
Also, if yes then please check if there is any task result with the name of your certification and does it have any error in it?
Thanks