Updated New-Certificate to new format