fix PUT, update CA bundle