title: How to get R to accept self signed certificates
body: <p>I have the following code using the Package RGoogleAnaytics</p>
  
  <pre><code>require(RGoogleAnalytics)
  client.id &lt;- "XX"
  client.secret &lt;- "YY"
  token &lt;- Auth(client.id,client.secret)
  save(token,file="./token_file")
  </code></pre>
  
  <p>When running this it goes into my browser and asks me to login to my account which has the Google Analytics profiles i wish to access.
  Once this has been done R prompts me to return to R and proceed
  However in R I get the error:</p>
  
  <pre><code>SSL certificate problem: self signed certificate in certificate chain
  </code></pre>
  
  <p>How can I rectify this?
  Is there a way to force R to accept such certificates?
  Is there a way to change the type of certificate that the page gives me?</p>