Ruby client for 2-way ssl authentication
问题 I have java web service supports 2-way ssl auth . So I have client key store ( client.p12 ) with server certificate in trusted store and server key store with client cert in trusted store. I can easily call my service using browser or postman (just need importing client.p12 in browser certificates management) but I have problems with ruby client. My current version: require 'rest_client' p12 = OpenSSL::PKCS12.new(File.read('client.p12'), 'password') client = RestClient::Resource.new('https:/