Fixed issue with certificate defaults not being set when adding a new certificate