Fix certificates