question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] Ability to provide custom CA Certificate

See original GitHub issue

libcurl provides a way to specify a CA bundle used for requests (CURLOPT_CAINFO). Currently, this is being used to provide a base CA bundle for Windows and Linux, but a user-supplied bundle could be concatenated to this fairly easily.

To-Do

  • Add setting to workspace settings to import a custom CA bundle (PEM format)
  • Add logic to concatenate user-supplied bundle to base bundle (if Windows or Linux). On Mac, simply provide user-supplied bundle

Unknowns

Since Curl retrieve the base CA bundle from the OS on Mac, it’s unclear whether or not setting CURLOPT_CAINFO will override this bundle entirely or add to it. This needs to be tested.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:21
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
ryanpriorcommented, Jun 23, 2020

I could help with validation. I’m on elementary OS 5.1.5 (like Ubuntu Precise) and I’m using mkcert as my local CA for API testing. If you can provide a bundle I’d be happy to try it with that configuration.

3reactions
coderjoecommented, Oct 3, 2018

This is something I’d be very interested in having. I’d love to give a PR a try.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create a Certificate Signed by a Certificate Authority
Create and manage security certificates for your B Series Appliance, signed by a CA authority.
Read more >
How To Set Up and Configure a Certificate Authority (CA) ...
Ensure that the CA Server is a standalone system. It will only be used to import, sign, and revoke certificate requests.
Read more >
Manage custom certificates - Power Apps
Open the Power Apps portals admin center. · Select Manage custom certificates. The authentication key is displayed along with its expiration date ...
Read more >
What is a certificate authority (CA)?
A certificate authority (CA) is a trusted entity that issues digital certificates to authenticate content sent from web servers. Learn about CAs here....
Read more >
ACM Private CA now supports custom subject names, ...
This launch also provides customers with the ability to include special purpose extensions in certificates. This includes the name constraint ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found