Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

Commit

Permalink
updated endpoint to https://itunes.apple.com
Browse files Browse the repository at this point in the history
  • Loading branch information
stve committed Oct 26, 2012
1 parent f0f2952 commit e5f462a
Show file tree
Hide file tree
Showing 3 changed files with 27,093 additions and 1,896 deletions.
2 changes: 1 addition & 1 deletion lib/itunes/configuration.rb
Expand Up @@ -14,7 +14,7 @@ module Configuration
DEFAULT_ADAPTER = Faraday.default_adapter DEFAULT_ADAPTER = Faraday.default_adapter


# The endpoint that will be used to connect if none is set # The endpoint that will be used to connect if none is set
DEFAULT_ENDPOINT = 'http://ax.itunes.apple.com'.freeze DEFAULT_ENDPOINT = 'https://itunes.apple.com'.freeze

This comment has been minimized.

Copy link
@dewski

dewski Oct 28, 2012

Owner

🤘



# The user agent that will be sent to the API endpoint if none is set # The user agent that will be sent to the API endpoint if none is set
DEFAULT_USER_AGENT = "ITunes Ruby Gem #{ITunes::VERSION}".freeze DEFAULT_USER_AGENT = "ITunes Ruby Gem #{ITunes::VERSION}".freeze
Expand Down

2 comments on commit e5f462a

@masterkain
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I keep getting
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed on every call.

@stve
Copy link
Collaborator Author

@stve stve commented on e5f462a Nov 5, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem to be happening for me. Are you attempting to verify the SSL cert? It might be worth looking at Faraday's suggestions for Setting up SSL certificates

We don't currently pass anything specific for ssl to the Faraday::Connection, let us know if we need to.

Please sign in to comment.