Skip to content

Commit

Permalink
testing loading cert / key file
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinzen committed Feb 7, 2012
1 parent 8320536 commit 68a6d55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/apn_on_rails/libs/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ def open(options = {}, &block) # :nodoc:
certificate = cert_param
# end

aps_server = options[:host]

context = OpenSSL::SSL::SSLContext.new
context.key = OpenSSL::PKey::RSA.new(certificate)
context.cert = OpenSSL::X509::Certificate.new(certificate)
Expand Down
2 changes: 1 addition & 1 deletion lib/apn_on_rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ApnOnRails
VERSION = "0.5.3.1"
VERSION = "0.5.3.2"
end

0 comments on commit 68a6d55

Please sign in to comment.