aboutsummaryrefslogtreecommitdiffstats
path: root/community/grpc/ruby-use-system-certs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/grpc/ruby-use-system-certs.patch')
-rw-r--r--community/grpc/ruby-use-system-certs.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/grpc/ruby-use-system-certs.patch b/community/grpc/ruby-use-system-certs.patch
new file mode 100644
index 00000000000..5d3ba16bc8c
--- /dev/null
+++ b/community/grpc/ruby-use-system-certs.patch
@@ -0,0 +1,15 @@
+From: Jakub Jirutka <jakub@jirutka.cz>
+Date: Fri, 20 May 2017 01:35:00 +0200
+Subject: [PATCH] Use system CA certificates
+
+--- a/src/ruby/lib/grpc.rb
++++ b/src/ruby/lib/grpc.rb
+@@ -12,7 +12,7 @@
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+
+-ssl_roots_path = File.expand_path('../../../../etc/roots.pem', __FILE__)
++ssl_roots_path = '/etc/ssl/certs/ca-certificates.crt'
+
+ require_relative 'grpc/errors'
+ require_relative 'grpc/structs'