Allow option to bypass certificate verificaiton
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
On-Premise clients using self-signed certificates will sometimes hit the following error:
Error in curl::curl_fetch_memory(url, handle = handle) :
Peer certificate cannot be authenticated with given CA certificates
This can be resolved by bypassing certificate checking by adding the following line before making the request:
httr::set_config(config(ssl_verifypeer = 0L))
It would be nice if this option were configurable within the Plotly .config file.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating how Plotly .config options are parsed and where requests are made with httr. Check how ssl_verifypeer can be passed through the existing configuration path. Done means on-premise clients can opt out of certificate verification through .config while the default behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- security
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100