adding capfile and pem