Fix certificate layout on production