removed c temp from certficate code