if you need to edit any of this files, open them like this vim -b add_certficate.json and then do :set noeol inside the editor, to keep the expected formatting
vim -b add_certficate.json
:set noeol