Skip to content

Commit

Permalink
certs
Browse files Browse the repository at this point in the history
  • Loading branch information
cysp committed Oct 28, 2013
1 parent 688054c commit cd0392c
Show file tree
Hide file tree
Showing 4 changed files with 345 additions and 3,555 deletions.
3 changes: 2 additions & 1 deletion lib/itunes_validator/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def initialize(options=nil)
@cert_store = OpenSSL::X509::Store.new
@cert_store.set_default_paths
gem_share_path = File.expand_path('../../../share', __FILE__)
@cert_store.add_file(File.expand_path('cacert.pem', gem_share_path))
@cert_store.add_file(File.expand_path('chain.prod.pem', gem_share_path))
@cert_store.add_file(File.expand_path('chain.sandbox.pem', gem_share_path))
end

def validate(receipt_data)
Expand Down

0 comments on commit cd0392c

Please sign in to comment.