Deleted all certificates by mistake. How to recreate?
Restore the contents of these three directories from a recent backup:

~/Library/Keychains
/Library/Keychains
/System/Library/Keychains


On my system this comprises 18 files and a subdirectory in the user folder ~/Library/Keychains