That command should be run from configuration mode:
admin@PA-200# delete deviceconfig system syslog-certificate
Once I entered configure mode, deleted the syslog-certificate. Then the commit ran from GUI, and I was able to delete the 'bad' certificate.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!