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 #2

Open
jlacko opened this issue Nov 11, 2022 · 0 comments
Open

Cert Support URL #2

jlacko opened this issue Nov 11, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jlacko
Copy link
Owner

jlacko commented Nov 11, 2022

repost from rodazuero#60


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 jlacko self-assigned this Nov 11, 2022
@jlacko jlacko added the enhancement New feature or request label Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant