Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cert Support URL #60

Open
stinkins opened this issue Nov 10, 2022 · 1 comment
Open

Cert Support URL #60

stinkins opened this issue Nov 10, 2022 · 1 comment

Comments

@stinkins
Copy link

Hello, everyone. In reviewing my usage of this particular package, I have a question. I am not familiar with R coding and have been handed this process. My tech team has discovered that the URL process to call Google Maps API does not allow the use of certificates. We need to figure out how to use RCurl to pass the URL through to the Google Maps API. I am going to cut and paste the information from my tech team for additional context.

Thanks.

The opensource code (gmapsdistance/R/gmapsdistance.R) maintainer should provide option to use certs for getURL.
For example:
https://github.com/rodazuero/gmapsdistance/blob/master/R/gmapsdistance.R#L378 should have logic as below:

library ("RCurl")
webpageXML = xmlParse(getURL(url,cainfo=system.file("CurlSSL","ZscalerRootCertificate-2048-SHA256.pem",package="RCurl")));

@jlacko
Copy link

jlacko commented Nov 10, 2022

Hi, two comments:

  1. I have taken over maintenenance of gmapsdistance from @rodazuero and it lives on as fork jlacko/gmapsdisance (it may be a good idea to archive this repo, though this is tangential to your problem)
  2. I will have a look at the possibility of supporting of calling a certificate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants